koalo / linux

Development of a I2S sound driver for the Raspberry Pi
Other
37 stars 20 forks source link

bcm2708-i2s frame settings #21

Closed maximus21 closed 10 years ago

maximus21 commented 11 years ago

For sample rates of 8000 x n the driver makes an assumption of frame length based on sample format forcing 40bits frame for 16 bit signal which is incompatible with many codecs. It must be a decision of the card driver, not cpu. IMO, set_sysclk with clk_id as the frame length could be used. Then the cpu driver wouldn't have to guess.

koalo commented 11 years ago

Thank you for this suggestion! This would fix #18 and #19, too. I will implement this soon.

koalo commented 10 years ago

Is fixed in 3.10.