Skip to content

Commit

Permalink
Fix mono audio playback.
Browse files Browse the repository at this point in the history
Follow-up 8adf652, which was incorrect

[cherry-picked from ce8844a]
  • Loading branch information
jyavenard committed Feb 12, 2012
1 parent b4b0fb3 commit cd75e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/audiooutputbase.cpp
Expand Up @@ -990,7 +990,7 @@ int AudioOutputBase::CopyWithUpmix(char *buffer, int frames, uint &org_waud)
{
AudioOutputUtil::MonoToStereo(WPOS, buffer, bdFrames);
frames -= bdFrames;
off = bdFrames * source_bytes_per_frame;
off = bdFrames * sizeof(float); // 1 channel of floats
org_waud = 0;
}
if (frames > 0)
Expand Down

0 comments on commit cd75e17

Please sign in to comment.