Re: ASOC PCM formats

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

 



Jon Smirl wrote:
> Why is the AC97 format set to S16 in all of the drivers? The link is
> 20b and my codec takes 20b, how do I get 20b data to the device?

You can only use sample formats that are supported by the AC97
controller.

> I tried using SNDRV_PCM_FORMAT_S20_3BE but all I get is static.

S20_3LE could in theory be used by USB devices.  There is no hardware
that supports S20_3BE.

How did you use this format?  Which driver is this?

> If I use S24 for the format it works but volume is divided by 16.

S24 means that the 24 sample bits are in the least significant bits of
a 32-bit memory word.  24 sample bits in the most significant bits of
a 32-bit memory word would be S32.  (It might be possible that your
driver gets this wrong.)


Regards,
Clemens
_______________________________________________
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