Re: Stream format conversion in SoC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Great! I managed to get 16 bit output to work just fine! Thank you!

After investigating related code and the PCM registers documentation,
turned out all I had to do was to call:

snd_soc_dai_set_bclk_ratio(dai, 32*2); // 32 bits for each of 2 channels

I've seen this method before, but its use / meaning wasn't obvious at
first...

However, recording using ADC generating 64 bit frames, 24 bit samples,
didn't work as expected when using 16bits... (it was producing noise mostly
in one channel, and less noise in the other) I haven't yet investigated
why, but will do.

Any way I can provide different sample format constraints for playback and
capture? (until 16 bit recording issue is resolved)

Thank you,
Giedrius.
​
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux