Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed: drain audio device then flush instead of adding silence
This is a revert of adding silence in case of timeouts on input queue.
- Loading branch information
elupus
committed
Nov 26, 2011
1 parent
eac52fe
commit 8649a2d
Showing
1 changed file
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8649a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we're not going to fix this in Windows's DirectSound renderer after all?
And are we keeping CDVDAudio::AddSilence() as an unused function for now?
8649a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8649a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a look and it surly wasn't easy to fix. We'd need another thread to handle the under-run situation. I think the add silence approach technically is better. But i think the AE stuff will change that anyway (even if i think the AE branch is a bit of using a sledge hammer to hit a tiny nail)
8649a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elupus: FYI there's also still another related issue on Windows (I hardly ever use Windows but I noticed it at a friend's place, and reproduced it at home). When a movie finishes the audio also momentarily loops (probably due to a/v inter-delay) which sounds rather nasty. Maybe there's a quick fix for this too?