[alsa-devel] Testers wanted: New SB X-Fi driver

William Pitcock nenolod at sacredspiral.co.uk
Tue May 19 08:10:35 CEST 2009


On Tue, 2009-05-19 at 07:34 +0200, Takashi Iwai wrote:
> At Mon, 18 May 2009 21:38:52 -0500,
> William Pitcock wrote:
> > 
> > Hi,
> > 
> > On Thu, 2009-05-14 at 15:28 +0200, Takashi Iwai wrote:
> > > At Thu, 14 May 2009 23:07:59 +1000,
> > > Michael (Micksa) Slade wrote:
> > > > 
> > > > Takashi Iwai wrote:
> > > > 
> > > >     At Thu, 14 May 2009 22:34:09 +1000,
> > > >     Michael (Micksa) Slade wrote:
> > > > 
> > > >         Swtiched audacious to 24bit.  It very quietly plays a badly distorted version
> > > >         of the song :)
> > > > 
> > > >     What about aplay with 32bit samples?
> > > > 
> > > > Seems to work fine.  Also 24bit.  Guess it's audacious' fault.  Probably.
> > > 
> > > It's possible that audacious tries to access 24bit, not 32bit format, 
> > > and ctxfi driver has a bug around that.
> > 
> > Audacious indeed uses 24bit formats.
> 
> OK, thanks.  Is it 24bit 3-bytes format, or 24bit in 4bytes format?

24bit 3-bytes format.

This is a table of supported formats:

static alsaplug_format_mapping_t alsaplug_format_conv_tbl[] = {
    {FMT_S24_LE, SND_PCM_FORMAT_S24_LE},
    {FMT_S24_BE, SND_PCM_FORMAT_S24_BE},
    {FMT_S24_NE, SND_PCM_FORMAT_S24},
    {FMT_U24_LE, SND_PCM_FORMAT_U24_LE},
    {FMT_U24_BE, SND_PCM_FORMAT_U24_BE},
    {FMT_U24_NE, SND_PCM_FORMAT_U24},
    {FMT_S16_LE, SND_PCM_FORMAT_S16_LE},
    {FMT_S16_BE, SND_PCM_FORMAT_S16_BE},
    {FMT_S16_NE, SND_PCM_FORMAT_S16},
    {FMT_U16_LE, SND_PCM_FORMAT_U16_LE},
    {FMT_U16_BE, SND_PCM_FORMAT_U16_BE},
    {FMT_U16_NE, SND_PCM_FORMAT_U16},
    {FMT_U8, SND_PCM_FORMAT_U8},
    {FMT_S8, SND_PCM_FORMAT_S8},
};

William
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090519/3bed2172/attachment.sig 


More information about the Alsa-devel mailing list