forked from opdenkamp/xbmc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2274be6
commit 47fcf24
Showing
1 changed file
with
8 additions
and
0 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
47fcf24
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.
@t-nelson @fritsch I noticed that audiotrack sink returns a huge buffer of 6144 frames (140 ms). ActiveAE may have too less buffers for proper operation. Events are generated when a buffer flows from one stage to another.
47fcf24
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.
Can't that be reduced here: https://github.com/FernetMenta/xbmc/blob/master/xbmc/cores/AudioEngine/Sinks/AESinkAUDIOTRACK.cpp#L329
That sink uses a pull modell, by fetching data out of a lockless ringbuffer. I think that can be nicer incorporated with ActiveAESink cause normally there is no need to extra buffer again with our design.