Friday, July 5, 2019

Re: [Discuss-gnuradio] USB Audio Adapter as audio source

Kyeong and Marcus,

To clarify what I sent yesterday, I did click 'Set as fallback' when I
ran pavucontrol. That probably had an effect on 'default', 'sysdefault',
and 'hw:0,0' working.

In further testing, I found a method which gives a persistent name
because, depending on boot-up timing, the card number varies. So, using
a terminal screen:

for USB audio input (from a dongle):
arecord -L
find the entry such as:
hw:CARD=Device,DEV=0
USB Audio Device, USB Audio
Direct hardware device without any conversions
use hw:CARD=Device,DEV=0 as the device name

for audio output:
aplay -L
find the entry such as: (this is for HDMI sound)
hw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct hardware device without any conversions
use hw:CARD=ALSA,DEV=1 as the device name

Thanks for your help and support!

---
Barry Duggan


On 2019-07-04 00:41, Kyeong Su Shin wrote:
> Hello Barry:
>
>
> Maybe it is not 'the proper way', but maybe you can leave the "Audio
> Source" as-is and set the input device using pavucontrol?
>
>
> Regards,
>
> Kyeong Su Shin
>
>
> ________________________________
> 보낸 사람: Barry Duggan <barry@dcsmail.net> 대신 Discuss-gnuradio
> <discuss-gnuradio-bounces+ksshin=postech.ac.kr@gnu.org>
> 보낸 날짜: 2019년 7월 4일 목요일 오전 10:48:36
> 받는 사람: Discuss Gnuradio
> 제목: [Discuss-gnuradio] USB Audio Adapter as audio source
>
> I am trying to use a C-Media USB Audio Device as the audio source in my
> flow graph. So far, I have not had any success with the device name.
>
> I tried:
> all variations of "C-Media Electronics Inc. USB Audio Device"
> default (also an empty device name)
> sysdefault
> Device (there was a sym link)
> hw:x,y with various numbers
> plughw:x,y with various numbers
> 'PCM',x with various numbers
> /proc/asound/card2 (which is the correct card from the list)
>
> alsamixer shows the device as valid. There does not seem to be a 'mute'
> function.
>
> Any suggestions?
>
> Thanks
> --
> Barry Duggan
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment