[alsa-devel] RE : M-Audio Audiophile USB, native little endian (S16_LE) ?

Thibault Le Meur Thibault.LeMeur at supelec.fr
Tue Jul 10 23:22:03 CEST 2007

>> > I don't know if this is already known (?), but the M-Audio
>> > Audiophile USB seem to be possible to run in native S16_LE
>> > mode if initialized with device_setup=0x01 (possibly with
>> > 0x11 also, have not tested that).

Seems that you're right. After some more tests, I was able to play a  
raw file  supposed to be S16_BE (recorded from my audiophile usb) to a  
Little endian only device.

I think we should fix this then, however I think that we should prefer  
a fix that do not use device_setup too much because it is something  
that could disapear in the future (see the old thread "[PATCH 1/2]  
M-Audio USB").

You'll find attached an equivalent fix that checks alt-settings  
instead of device_setup param: Can you try it Hakan ?

Moreover, it adds an extra reset-to-altset0 call at module  
initialization time which proves to be useful to switch sample depth  
modes without having to turn off the device. It is taken from Pavel  
Polischouk's patch which wasn't really finalized (at least until now).  
(Pavel are you still reading to this list?)

Takashi, let me know if you want to apply one of the proposed fixes,  
cause I'll have to update the Documentation as well.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ma-audiophile-patch.diff
Type: text/x-patch
Size: 783 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070710/dd813fc4/attachment.diff 

More information about the Alsa-devel mailing list