[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Audio Sink for pi
From: |
CEL |
Subject: |
Re: [Discuss-gnuradio] Audio Sink for pi |
Date: |
Wed, 24 Jan 2018 14:31:45 +0000 |
Hello David,
No experience with audio on the pi, but:
I usually just work with "default" on Linux.
You can query the possible strings using "aplay -L", if you have aplay
(ALSA player) installed; not sure hw:1,0 actually maps to something
that can be used for playback. You could check that reading
/proc/asound/devices contains kind of a "tree" notation, in a format
that's basically
X: [ N - M]: digital audio playback
and that would equivalent to hw:N,M, usually. (ALSA's naming remains to
be a big f'up, imho). For example, I have a
7: [ 1] : control
8: [ 1- 3]: digital audio playback
9: [ 1- 7]: digital audio playback
in there, so hw:1,7 works, but hw:1,0 doesn't. (I still use
"hdmi:CARD=NVidia,DEV=1", which I got from "aplay -L".)
Best regards,
Marcus
On Tue, 2018-01-23 at 22:56 -0600, David Hertel wrote:
> Hello,
>
> I am new here and having big troubles getting the audio sink to work on a pi.
> Everything was cool in windows then I switched to the pi because i want to
> dedicate a box to running my layout full time.
> Here is my error.
> audio_alsa_sink0 - [hw:1,0]: snd_pcm_sw_params: Invalid argument
>
> I don't know what to put in the Device Name box. Can anyone help me?
> --
> David Hertel
> Newman-Kees Engineering
> Evansville, In
> Cell 812-760-9071
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME cryptographic signature