correction: audiophile USB stream0 output
agh, many apologies for my stupidity. posting cat /proc/asound/stream0 with nothing playing back was a silly, useless excercise :) here is stream0 while playing back, the problem seems to be that the later drivers (0.9.3c) are running the card at 96khz (which results it digital noise) while the older drivers (0.9.0rc5) are running it at 48khz. I guess this is what the difference in the "momentary frequency" between the two tests means... is there a way to make the card run at 48khz? (.asoundrc?)
here are the results:
_________alsa driver 0.9.3c
bash-2.05a# cat stream0
M-Audio Audiophile USB (tm) at 002/003 : USB Audio
Playback:
Status: Running
Interface = 2
Altset = 4
URBs = 2 [ 1 1 ]
Packet Size = 200
Momentary freq = 95,999 Hz
Interface 2
Altset 1
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (ADAPTIVE)
Rates: 48001 - 96000 (continuous)
Interface 2
Altset 2
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (ASYNC)
Rates: 8000 - 48000 (continuous)
Interface 2
Altset 3
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (ADAPTIVE)
Rates: 8000 - 48000 (continuous)
Interface 2
Altset 4
Format: S16_LE
Channels: 2
Endpoint: 3 OUT (ASYNC)
Rates: 8000 - 48000 (continuous)
Interface 2
Altset 5
Format: S16_LE
Channels: 2
Endpoint: 3 OUT (ADAPTIVE)
Rates: 8000 - 48000 (continuous) Capture:
Status: Running
Interface = 5
Altset = 3
URBs = 2 [ 1 1 ]
Packet Size = 200
Momentary freq = 44,099 Hz
Interface 5
Altset 1
Format: S24_3LE
Channels: 2
Endpoint: 6 IN (ASYNC)
Rates: 48001 - 96000 (continuous)
Interface 5
Altset 2
Format: S24_3LE
Channels: 2
Endpoint: 6 IN (ASYNC)
Rates: 8000 - 48000 (continuous)
Interface 5
Altset 3
Format: S16_LE
Channels: 2
Endpoint: 6 IN (ASYNC)
Rates: 8000 - 48000 (continuous) _________alsa driver 0.9.0rc5
bash-2.05a# cat stream0
M-Audio Audiophile USB (tm) : USB Audio
Playback:
Status: Running
Interface = 2
Altset = 4
URBs = 2 [ 1 1 ]
Packet Size = 200
Momentary freq = 48,001 Hz
Interface 2
Altset 1
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (ADAPTIVE)
Rates: 48001 - 96000 (continous)
Interface 2
Altset 2
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (ASYNC)
Rates: 8000 - 48000 (continous)
Interface 2
Altset 3
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (ADAPTIVE)
Rates: 8000 - 48000 (continous)
Interface 2
Altset 4
Format: S16_LE
Channels: 2
Endpoint: 3 OUT (ASYNC)
Rates: 8000 - 48000 (continous)
Interface 2
Altset 5
Format: S16_LE
Channels: 2
Endpoint: 3 OUT (ADAPTIVE)
Rates: 8000 - 48000 (continous) Capture:
Status: Running
Interface = 5
Altset = 3
URBs = 2 [ 1 1 ]
Packet Size = 200
Momentary freq = 44,099 Hz
Interface 5
Altset 1
Format: S24_3LE
Channels: 2
Endpoint: 6 IN (ASYNC)
Rates: 48001 - 96000 (continous)
Interface 5
Altset 2
Format: S24_3LE
Channels: 2
Endpoint: 6 IN (ASYNC)
Rates: 8000 - 48000 (continous)
Interface 5
Altset 3
Format: S16_LE
Channels: 2
Endpoint: 6 IN (ASYNC)
Rates: 8000 - 48000 (continous) At Fri, 23 May 2003 01:58:54 +1000,
Quoted 3 lines · Jonathan Gage
agh, many apologies for my stupidity. posting cat
/proc/asound/stream0with nothing playing back was a silly, useless excercise :)
no, don't worry, it's still useful in many cases. it shows better view than reading the output of lsusb.
Quoted 5 lines
here is stream0 while playing back, the
problem seems to be that the later drivers (0.9.3c) are running the card at 96khz (which results it digital noise) while the older drivers (0.9.0rc5) are running it at 48khz. I guess this is what the difference in the "momentary frequency" between the two tests means... is there a way to make the card run at 48khz? (.asoundrc?)
what kind of audio (format, rate, channels) did you use? i see the playback and the capture are running in different rates.
the reason to get a too high rate is that i disabled the error check in on 0.9.3c (line 408). please remove '#if 0/#endif' there and see what happens. you'll get warning messages (if the driver is compiled with --with-debug option).
also, an alternative workaround is to use adaptive out instead of async out mode if both modes exist. of course, it's better to fix the bug of async out mode.
thanks,
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge