On 2015-06-21 11:19, Raymond Yau wrote: > > > >> Do you mean you still cannot force pulseaudio to use 24 bits for > your creative usb audio ? > >> > >> Seem try auto format did not include 24bits > > > > I have 24bit explicitly in pulseaudio config currently: > >>> > >>> default-sample-format = s24le > > > > But it still uses 16bit, didn't managed how to force it to use 24bit > > static const pa_sample_format_t try_order[] = { > PA_SAMPLE_FLOAT32NE, > PA_SAMPLE_FLOAT32RE, > PA_SAMPLE_S32NE, > PA_SAMPLE_S32RE, > PA_SAMPLE_S24_32NE, > PA_SAMPLE_S24_32RE, > PA_SAMPLE_S24NE, > PA_SAMPLE_S24RE, > + PA_SAMPLE_S24LE, > PA_SAMPLE_S16NE, > PA_SAMPLE_S16RE, > PA_SAMPLE_ALAW, > PA_SAMPLE_ULAW, > PA_SAMPLE_U8 > }; > > Seem missing PA_SAMPLE_S24LE in try_order, not sure any assembley code > need to be changed S24LE is the same as S24NE on little-endian archs, and the same as S24RE on big-endian archs. LE = Little endian BE = Big endian NE = Native endian RE = Reverse endian (i e, the opposite to the native one) -- David Henningsson, Canonical Ltd. https://launchpad.net/~diwic