We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, my usb sound card shows up as device 0, but when I run sudo arecord -f S16_LE -r48000 -c1 -D 0 | csdr mono2stereo_i16 > ~/test_audio.raw
to test the audio card I get an error of
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 0 arecord: main:722: audio open error: No such file or directory
Any ideas???
The text was updated successfully, but these errors were encountered:
Hi @mikerobertsn,
0 is not likely to be a valid device ID.
Try using:
aplay -L
You will see multiple entries. For me this is the correct one for the USB device:
hw:CARD=Device,DEV=0 USB PnP Sound Device, USB Audio Direct hardware device without any conversions
...from this, the part that you need as the ALSA device ID is:
hw:CARD=Device,DEV=0
Then you can try arecord again:
arecord
arecord -f S16_LE -r48000 -c1 -D hw:CARD=Device,DEV=0 | csdr mono2stereo_i16 > ~/test_audio.raw
Does this help?
Sorry, something went wrong.
No branches or pull requests
Hi, my usb sound card shows up as device 0, but when I run sudo arecord -f S16_LE -r48000 -c1 -D 0 | csdr mono2stereo_i16 > ~/test_audio.raw
to test the audio card I get an error of
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 0
arecord: main:722: audio open error: No such file or directory
Any ideas???
The text was updated successfully, but these errors were encountered: