Skip to contentSkip to conversation

USB Audio - Silence

DISCUSSION Smery 2 participants 2 messages Jul 13, 2005 – Jul 14, 2005

lore
Share & tools
lore

Smery

author
#0 lore raw

Hello,
I have an USB device with one Audio Class interface.
snd_usb_audio detects it and register the corresponding card:

#amixer -c 3
Simple mixer control 'PCM',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 3
Mono: Capture 3 [100%] [on]

Also recording sems to work fine:

$ arecord -f dat -d 10 -D hw:3,0 foobar.wav
Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
$ ls -l foobar.wav
-rw-r--r--  1 foo foo 1920044 13 lug 00:16 foobar.wav

The problem is that I obtain a file does not contain anything other than a sequence of "40 00" (hex) bytes.

Any idea on what happens?

Best regards

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar

#1 lore raw
Quoted 6 lines · Smery

I have an USB device with one Audio Class interface.
snd_usb_audio detects it and register the corresponding card:
Also recording sems to work fine:

The problem is that I obtain a file does not contain anything other than a sequence of "40 00" (hex) bytes.

What is the output of "amixer -c 3 contents" and "lsusb -v" for your device?

Regards,
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar