RPi2: HDMI vs jack audio with ALSA... what's the trick? - Raspberry Pi Forums


i attempting have hdtv hooked-up rpi2 via hdmi , keep external speakers hooked 3.5mm jack. unable output sound cli speakers; attempts go through hdmi , out tv.

1) know speakers work because can have kodi output them or internal speakers (hdmi).
2) can following cli , white noise play through tv (again hdmi).

code: select all

play -n -c 2 synth 10:00 whitenoise
how can direct whitenoise come out 3.5mm jack? thanks!

here `aplay -l`

code: select all

**** list of playback hardware devices **** card 0: alsa [bcm2835 alsa], device 0: bcm2835 alsa [bcm2835 alsa]   subdevices: 8/8   subdevice #0: subdevice #0   subdevice #1: subdevice #1   subdevice #2: subdevice #2   subdevice #3: subdevice #3   subdevice #4: subdevice #4   subdevice #5: subdevice #5   subdevice #6: subdevice #6   subdevice #7: subdevice #7 card 0: alsa [bcm2835 alsa], device 1: bcm2835 alsa [bcm2835 iec958/hdmi]   subdevices: 1/1   subdevice #0: subdevice #0
have tried:

code: select all

audiodev=hw:0,0 play -n -c 2 synth 10:05 whitenoise
,

code: select all

audiodev=hw:0,1 play -n -c 2 synth 10:05 whitenoise
neither comes out speakers.



raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code