> Jan Krämer <[EMAIL PROTECTED]>, on Sat, 24 Jan 2004 21:20:08 +0200, said
> I must say that my Audiophile USB (by now ;-) works quite well (with the

Can you give me more information? Which version of Alsa? Which kernel?
Does it always work (you don't have the problem described in
http://www.mail-archive.com/[EMAIL PROTECTED]/msg09192.html)?
Does the S/PDIF digital output work?

> slight exception that I cannot watch any movies with sound over the
> audiophile since there seems to be a problem somehow between my setup and
> mplayer...do not know if that is a real bug, or just me... ;-)

I have the same program with 48kHz sound with mplayer 1.0pre3-3.3.3.
I get xruns.  I don't have any problems with 44.1kHz sound. I'm using
plughw:1 (thanks Takashi). Plughw converts from little to big endian.
I wonder if it is also resampling (in software) from 48kHz to 44.1kHz. I
suspect that Alsa is using a 44.1kHz interface and resampling in software.

Does anyone know show to define a plug that _only_ changes from little
to big endian (and that doesn't resample under any conditions)?

> The thing with the Audiophile USB is that, out of whatever reason, the
> audiophile needs the sound samples in big endian. But since most players will
> try to open a little endian stream on the audiophile, alsa first needs to
> convert it  (and you have to tell it  that it should).
> Put this into your .asoundrc ...
> pcm.audiophile{
>         type plug
>         slave {
>                 pcm {
>                         type hw
>                         card 1
>                 }
>         }
> }
> alsaplayer --verbose -d audiophile *.mp3

I guess that this does the same thing as plughw:1.

My M-Audio Audiophile USB stops working after some hours.
The application (pytone) continues but there is no more sound
(perhaps it doesn't check for errors).  When I exit pytone and retry
alsaplayer I get:

        % alsaplayer --verbose -d plughw:1 test.wav
        AlsaPlayer 0.99.75
        (C) 1999-2003 Andy Lo A Foe <[EMAIL PROTECTED]> and others.
        Output plugin: ALSA output v1.9.0beta12
        ALSA lib pcm_hw.c:324:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: 
Input/output error
        Unable to install hw params:
        ACCESS:  RW_INTERLEAVED
        FORMAT:  S16_LE
        SUBFORMAT:  STD
        SAMPLE_BITS: 16
        FRAME_BITS: 32
        CHANNELS: 2
        RATE: 44100
        PERIOD_TIME: (11609 11610)
        PERIOD_SIZE: 512
        PERIOD_BYTES: 2048
        PERIODS: 16
        BUFFER_TIME: (185759 185760)
        BUFFER_SIZE: 8192
        BUFFER_BYTES: 32768
        TICK_TIME: 10000
        ALSA lib pcm_hw.c:324:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: 
Input/output error
        Unable to install hw params:
        ACCESS:  RW_INTERLEAVED
        FORMAT:  S16_LE
        SUBFORMAT:  STD
        SAMPLE_BITS: 16
        FRAME_BITS: 32
        CHANNELS: 2
        RATE: 44100
        PERIOD_TIME: (23219 23220)
        PERIOD_SIZE: 1024
        PERIOD_BYTES: 4096
        PERIODS: 8
        BUFFER_TIME: (185759 185760)
        BUFFER_SIZE: 8192
        BUFFER_BYTES: 32768
        TICK_TIME: 10000
        failed to configure output device...trying OSS
        Output plugin: OSS output v1.0
        Loading reader plugin: File reader v1.1
        Loading reader plugin: HTTP reader v1.3
        Loading Input plugin: flac player v1.2
        Loading Input plugin: CDDA player v1.2
        Loading Input plugin: libsndfile plugin v0.1
        Loading Input plugin: MAD MPEG audio plugin v1.01
        Loading Input plugin: MikMod player v1.0
        Loading Input plugin: Ogg Vorbis player v1.2
        Loading Input plugin: WAV player v1.01
        Interface plugin: GTK+ interface v1.2
        
kern.log contains:
        Jan 26 09:07:13 joey kernel: ALSA usbaudio.c:1109: 6:2:5: usb_set_interface 
failed
        Jan 26 09:07:13 joey kernel: ALSA usbaudio.c:1109: 6:2:5: usb_set_interface 
failed
        Jan 26 09:07:13 joey kernel: devfs_register(unknown): could not append to 
parent, err: -17
        Jan 26 09:07:13 joey last message repeated 2 times
        Jan 26 09:08:58 joey kernel: ALSA usbaudio.c:1109: 6:2:5: usb_set_interface 
failed
        Jan 26 09:08:58 joey kernel: ALSA usbaudio.c:1109: 6:2:5: usb_set_interface 
failed

Have you ever had this problem?

Have you tried to update the firmware (via MacOS X) with the new
`Permanent Firmware Upgrade' dated January 14, 2004 available on
http://www.m-audio.com  (version 1.5.7f1)?

Stuart

PS I have a small web page where I have described my experiences
with this card http://www.infres.enst.fr/~pook/configs/audiophile_usb.html
PPS thanks for your help


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to