I'd be very grateful for some help with some issues I''m having with analog audio and Airplay with Rasplex.
I've got Rasplex 9.9.19 and am experiencing a few odd difficulties with audio output and HDMI in general.
Firstly, when I start playing any media file - music or video - Rasplex seems to drop HDMI output and the TV reads "no signal". I press the "HDMI" input selector on my TV remote and it then picks up the Rasplex signal again. Playback of the file then occurs with no further problems. This also occurs if i use Airplay to play a song from my iPhone. The HDMI initially drops but is then found when I refresh my TVs HDMI inputs and the song plays over Airplay.
Secondly, I have Airplay working from my ios7 iPhone via Rasplex but oddly it only works if the Rasplex audio is set to output over HDMI. If I change the audio output in Rasplex preferences to Analog and try to play a song from my iPhone via Airplay, it switches the audio output to HDMI automatically.
If I play a song or video directly on Rasplex, I can get the audio to come out via analog.
It's all slightly perplexing. I'd be very grateful for any advice on what might be going wrong. It means I can't currently use Rasplex as a headerless audio player which is unfortunate.
I've been experimenting a bit with this issue and have made some progress.
I shutdown the Rasberry Pi via SSH ("poweroff") with the audio set to analog out. I then I booted the Raspberry Pi with the HDMI cable dissconnected. Under these circumstances I can use Airplay from my IOS 7 phone. However, if I then plug the HDMI cable back in and try to Airplay audio via the analog in Rasplex, the audio output switches automatically to HDMI.
Is there some way to force the Pi to use audio over the analog.
One further issue I've noted with audio is that when playing songs directly from plex, the volume spikes dramatically in between songs. It returns to its previous level if I manually lower it. This problem has been reported for raspBMC (http://forum.stmlabs.com/showthread.php?tid=7774) but seemed to have been solved some time ago. Perhaps this fix never made it over to Rasplex? Is this a known issue? Are there any fixes?
I posted an issue on GitHub about this issue, and LongChair confirmed that he had fixed this issue with the audio output and that it will be included in 9.9.20.
Thanks very much for getting back to me on the Airplay HDMI issue - very happy to hear it's been sorted.
The other issue with volume spikes between songs occurs when I'm playing songs from my Plex media server over Rasplex. I had considered a levelling issue with the files themselves but it occurs within albums and it has previously been reported for XMBC so I think it is a genuine issue. I would have expected others to have experienced it as well though.
While we're waiting for 9.9.20, is there a way to change the audio output to analog via SSH? I'm running my Pi headerless and it's a pain to have to connect it up to a monitor every time I want to change the audio output back to analog. Much easier to do it from my computer.
Well, I see that the 9.9.20 has been released - and I will check it out when I am getting home from the university.
Please check whether this update solves your audio level issue, and report if it doesnt. I'd guess this would be a problem for other users aswell, personally I dont have music in my Plex Server - since I am using Spotify. Therefore the AirPlay functionality is more of an importance for me.
Unfortunately, this update hasn't solved really solved the issues.
I can use Airplay from iOS phone without any issues if the audio output is set to HDMI.
If I switch to analog, I can get audio output but the volume is very low (much lower than if I play songs from the PMS directly through Rasplex via analog).
If the TV is turned off while streaming via Airplay with analog audio out, there is a pop and the audio cuts out.
If the RPi is booted with the audio set to analog and no HDMI cable attached, Rasplex can't even be found as an Airplay device in iOS.
To top it off, there's still a problem with the volume increasing significantly in between songs when playing songs from PMS directly through Rasplex with analog out.
There really seems to be some kind of conflict between HDMI and analog audio. I know the analog audio isn't up to much anyway, but it would be really useful to use it as a headerless music player while retaining the ability to watch films and so on when the TV is turned on.