Re: creative audigy 2 zs notebook - bit perfect?

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

 



Clemens and list;

I responded to this on Friday but inadvertently not to the list.  My apologies.

On Fri, Nov 23, 2012 at 8:51 AM, Clemens Ladisch
<cladisch@xxxxxxxxxxxxxx> wrote:
> chris hermansen wrote:
>> hw:CARD=Audigy2,DEV=2
>>     SB Audigy 2 ZS Notebook [SB0530, Multichannel Capture/PT Playback
>> hw:CARD=Audigy2,DEV=3
>>     SB Audigy 2 ZS Notebook [SB0530, Multichannel Playback
>
> Try if playing to one of those works.

It doesn't work to the other two; here are the results:

clh@marseille:~$ sudo aplay -v -D 'hw:CARD=Audigy2,DEV=2' 06*.wav
aplay: main:682: audio open error: No such device

clh@marseille:~$ sudo aplay -v -D 'hw:CARD=Audigy2,DEV=3' 06*.wav
Playing WAVE '06_-_Amadou & Mariam_-_Artistiya.wav' : Signed 16 bit
Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1076: Access type not available

/proc/asound/Audigy contains a file called emu10k1.  I don't think
this driver supports 24bit playback, as I mentioned in an earlier
post, because when I try to play a 24 bit file, here is what I see:

clh@marseille:~$ sudo aplay -v -D 'hw:CARD=Audigy2,DEV=0' 2L*wav
Playing WAVE '2L50SACD_tr1_96k_stereo.wav' : Signed 24 bit Little
Endian in 3bytes, Rate 96000 Hz, Stereo
aplay: set_params:1081: Sample format non available
Available formats:
- U8
- S16_LE
clh@marseille:~$

To try and chase this further along, I have downloaded the ALSA
source, and the file emupcm.c in
~/Downloads/alsa-driver-1.0.25/alsa-kernel/pci/emu10k1 shows the
following, starting at line 969:

/*
 *  Playback support device description
 */

static struct snd_pcm_hardware snd_emu10k1_playback =
{
        .info =                 (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_INTERLEAVED |
                                 SNDRV_PCM_INFO_BLOCK_TRANSFER |
                                 SNDRV_PCM_INFO_RESUME |
                                 SNDRV_PCM_INFO_MMAP_VALID |
SNDRV_PCM_INFO_PAUSE),
        .formats =              SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE,
        .rates =                SNDRV_PCM_RATE_CONTINUOUS |
SNDRV_PCM_RATE_8000_96000,
        .rate_min =             4000,
        .rate_max =             96000,
        .channels_min =         1,
        .channels_max =         2,
        .buffer_bytes_max =     (128*1024),
        .period_bytes_min =     64,
        .period_bytes_max =     (128*1024),
        .periods_min =          1,
        .periods_max =          1024,
        .fifo_size =            0,
};

According to the card specs this is incorrect on two fronts: the card
will handle up to 192000, and the card will handle up to 24 bit words.

I'm thinking that changing the constant values in this structure would
probably not be sufficient to resolve this problem?  Or am I just
being too pessimistic?


--
Chris Hermansen · clhermansen at gmail dot com

C'est ma façon de parler.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux