aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer_config_init.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix software mixerEric Wong2008-08-271-0/+1
| | | | I just forgot to reenable/reinitialize it after the core rewrite.
* outputBuffer: fix buffer_before_play handlingEric Wong2008-08-231-1/+1
| | | | | | | | | | | | | | | | | | buffer_before_play is a prebuffer; always respecting it is almost as good as having no buffer at all. So we only respect it when we haven't played anything. Bugs that were a side effect of this also got fixed: The player would not stop when we got to the end of the last song on non-repeating playlists. The playlist would continuously show the song in the last few seconds of playback, and never move. Having crossfade enabled would also amplify the above effect. So, as a side effect, crossfade now correctly handles end-of-playlist conditions, as well. It will fade out to silence when we're at the end of a playlist.
* fix output buffer deadlock when daemonizingEric Wong2008-08-191-0/+87
We spawned the output buffer thread before daemonizing in initPlayerData(), which is ultra bad because daemonizes forks and threads are not preserved on exit. Since playerData has been stripped bare by this core-rewrite anyways, move this code into the outputBuffer_* group and drop playerData.[ch] completely I completely forgot to test this :<