Skip to content

Commit

Permalink
[rbp] fixed only volume boost on downmix. thx popcornmix for finding it
Browse files Browse the repository at this point in the history
  • Loading branch information
huceke committed Aug 12, 2012
1 parent d11a167 commit 7d0e8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/omxplayer/OMXAudio.cpp
Expand Up @@ -921,7 +921,7 @@ unsigned int COMXAudio::AddPackets(const void* data, unsigned int len, double dt
}
}

if (g_guiSettings.GetBool("audiooutput.normalizelevels"))
if ((m_pcm_input.nChannels > m_pcm_output.nChannels) &&g_guiSettings.GetBool("audiooutput.normalizelevels"))
{
OMX_AUDIO_CONFIG_VOLUMETYPE volume;
OMX_INIT_STRUCTURE(volume);
Expand Down

0 comments on commit 7d0e8be

Please sign in to comment.