Mercurial > audlegacy-plugins
changeset 2033:a616624be493
move InputPlayback::pass_audio() call to avoid cutting off last 5 seconds.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 12 Oct 2007 15:36:41 -0500 |
parents | 55f2fd232291 |
children | a21cc1e45080 |
files | src/vorbis/vorbis.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/vorbis/vorbis.c Fri Oct 12 15:35:16 2007 -0500 +++ b/src/vorbis/vorbis.c Fri Oct 12 15:36:41 2007 -0500 @@ -389,14 +389,14 @@ g_mutex_unlock(vf_mutex); + playback->pass_audio(playback, FMT_S16_NE, channels, bytes, pcmout, &playback->playing); + if (!playback->playing) return current_section; if (seekneeded != -1) do_seek(playback); - playback->pass_audio(playback, FMT_S16_NE, channels, bytes, pcmout, &playback->playing); - return current_section; }