Raspberry Pi sound driver
andym (447) 473 posts |
Having enabled sound on a Raspberry Pi, I noticed the sound was coming out of the monitor speakers, seemingly being sent via the HDMI cable. I also had a pair of active speakers connected to the 3.5mm audio port, but didn’t get any sound out of them. Is sound enabled over both HDMI and 3.5mm audio out? Or does HDMI take priority and turn off the 3.5mm port? Or, are my speakers duff?! Just wondered if my audio would die if I bought a HDMI-DVI cable. |
Jeffrey Lee (213) 6048 posts |
At the moment RISC OS just tells the GPU (which is what handles the audio) to output it over whatever interface it feels like. I’d assume that it will automatically enable the 3.5mm port if your monitor (or cable) doesn’t support HDMI audio. However you can also force the audio to be sent to the 3.5mm port if you specify “hdmi_drive=1” in the config.txt |
Michael Emerton (483) 136 posts |
Hi, I have managed somehow to disable sound only over the HDMI socket. I know the monitor / Pi / Cable is functioning as expected due to Raspbmc playing sound over HDMI. RISC OS Output audio when composite video + audio out are used (how I am typing this). Boot up with HDMI cable, and suddenly no sound. I have tried the “hdmi_drive=1” command but no sound out of the audio out either. Model B Rev 1, RISC OS 5.19 (01 Nov) Latest Pi Firmware from PackMan bit of a pain when developing a music program ;@) I will try the lastest ROM ect |
Jess Hampshire (158) 865 posts |
Try “hdmi_drive=2” I had the same issue. |
Michael Emerton (483) 136 posts |
Fantastic! Worked perfectly. Now I can drive over TOSLink from my samsung monitor to my amp! And I can edit in 1080 as opposed to 640 over composite! Cheers Jess |