2015-03-12, 20:03
I currently use an external USB DAC connected to my RPi2 running Openelec. With the jump from XBMC v13 to Kodi v14, there has been a significant change in the way the audio output device is selected and such change is causing me issues.
With XMBC v13, I would simply set my audio output device to the DAC and when it came time to play a movie using omxplayer, XBMC would simply switch over to the next working audio output, which was HDMI (as omxplayer does not support ALSA, which the USB DAC requires). This was fine, as I could just run the HDMI to my TV, and the TV audio line-out to my amplifier. Then, if I simply wanted to listen to music, I could do so with the TV turned off, as the music would be output straight to my USB DAC.
Unfortunately, with Kodi v14, if I attempt to play a movie with the USB DAC selected, Kodi will now switch players from omxplayer to dvdplayer (I assume this is an intentional "feature"). While I'll definitely agree that the performance of dvdplayer has improved recently, it is still far, far inferior to the performance of omxplayer. On high bitrate movies, the audio pops randomly, frames are regularly dropped, and fast-forwarding/skipping is sluggish. This occurs on an overclocked RPi2 and even worse so on an RPi B.
I've posted about this before in the Openelec forums, but wasn't able to find a resolution. It was suggested to disable the "MMAL acceleration" option, but doing so only gets me a black screen when I attempt to play a movie with the USB DAC set as the audio output.
Thus, my question is: Is there any way to change the behavior of how Kodi handles playing back a movie with a USB DAC selected (i.e. an audio output device requiring ALSA) back to what it used to be in v13?
If this is not easily feasible, is there perhaps a way to instead force paplayer to use a different/specific audio output device than one used for video playback? Simply put, all I want to do is use the USB DAC for music and the HDMI audio output for video.
With XMBC v13, I would simply set my audio output device to the DAC and when it came time to play a movie using omxplayer, XBMC would simply switch over to the next working audio output, which was HDMI (as omxplayer does not support ALSA, which the USB DAC requires). This was fine, as I could just run the HDMI to my TV, and the TV audio line-out to my amplifier. Then, if I simply wanted to listen to music, I could do so with the TV turned off, as the music would be output straight to my USB DAC.
Unfortunately, with Kodi v14, if I attempt to play a movie with the USB DAC selected, Kodi will now switch players from omxplayer to dvdplayer (I assume this is an intentional "feature"). While I'll definitely agree that the performance of dvdplayer has improved recently, it is still far, far inferior to the performance of omxplayer. On high bitrate movies, the audio pops randomly, frames are regularly dropped, and fast-forwarding/skipping is sluggish. This occurs on an overclocked RPi2 and even worse so on an RPi B.
I've posted about this before in the Openelec forums, but wasn't able to find a resolution. It was suggested to disable the "MMAL acceleration" option, but doing so only gets me a black screen when I attempt to play a movie with the USB DAC set as the audio output.
Thus, my question is: Is there any way to change the behavior of how Kodi handles playing back a movie with a USB DAC selected (i.e. an audio output device requiring ALSA) back to what it used to be in v13?
If this is not easily feasible, is there perhaps a way to instead force paplayer to use a different/specific audio output device than one used for video playback? Simply put, all I want to do is use the USB DAC for music and the HDMI audio output for video.