discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-audio: add query device names?


From: Alexandru Csete
Subject: Re: [Discuss-gnuradio] gr-audio: add query device names?
Date: Thu, 6 Feb 2014 13:07:32 +0100

2014-02-06 11:10 GMT+01:00 Volker Schroer <address@hidden>:
>
>> Hi Volker,
>>
>> The idea is to enumerate using library calls, which is the right way to do
>> this.
>>
>> Alex
>>
> Hi Alex,
>
> Yes, I know, but sometimes this does not help. Here is a list of my devices
> from aplay -l:
>
> Karte 0: SB [HDA ATI SB], Gerät 0: ID 892 Analog [ID 892 Analog]
>   Sub-Geräte: 0/1
>   Sub-Gerät #0: subdevice #0
> Karte 0: SB [HDA ATI SB], Gerät 1: ID 892 Digital [ID 892 Digital]
>   Sub-Geräte: 1/1
>   Sub-Gerät #0: subdevice #0
> Karte 1: M44 [M Audio Delta 44], Gerät 0: ICE1712 multi [ICE1712 multi]
>   Sub-Geräte: 1/1
>   Sub-Gerät #0: subdevice #0
> Karte 2: Loopback [Loopback], Gerät 0: Loopback PCM [Loopback PCM]
>   Sub-Geräte: 7/8
>   Sub-Gerät #0: subdevice #0
>   Sub-Gerät #1: subdevice #1
>   Sub-Gerät #2: subdevice #2
>   Sub-Gerät #3: subdevice #3
>   Sub-Gerät #4: subdevice #4
>   Sub-Gerät #5: subdevice #5
>   Sub-Gerät #6: subdevice #6
>   Sub-Gerät #7: subdevice #7
> Karte 2: Loopback [Loopback], Gerät 1: Loopback PCM [Loopback PCM]
>   Sub-Geräte: 8/8
>   Sub-Gerät #0: subdevice #0
>   Sub-Gerät #1: subdevice #1
>   Sub-Gerät #2: subdevice #2
>   Sub-Gerät #3: subdevice #3
>   Sub-Gerät #4: subdevice #4
>   Sub-Gerät #5: subdevice #5
>   Sub-Gerät #6: subdevice #6
>   Sub-Gerät #7: subdevice #7
> Karte 4: HDMI [HDA ATI HDMI], Gerät 3: HDMI 0 [HDMI 0]
>   Sub-Geräte: 1/1
>   Sub-Gerät #0: subdevice #0
>
>
> But to use the Delta card I have to use plughw:1 as device or some other
> plugin defined in my personal .asoundrc .

Maybe "aplay -L" is better; however, formatted output from an
application is hardly any indication of what is possible with library
calls.

Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]