r31776 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31775‎ | r31776 | r31777 >
Date:12:07, 11 March 2008
Author:tstarling
Status:old
Tags:
Comment:
Play the ring buffer on drain() -- fixes the remaining issue in bug 11232.
Modified paths:
  • /trunk/cortado/src/com/fluendo/plugin/AudioSink.java (modified) (history)

Diff [purge]

Index: trunk/cortado/src/com/fluendo/plugin/AudioSink.java
@@ -526,6 +526,10 @@
527527 return;
528528 }
529529
 530+ if (ringBuffer.getState() != PLAY) {
 531+ ringBuffer.play();
 532+ }
 533+
530534 if (ringBuffer.nextSample != -1) {
531535 long time = ringBuffer.nextSample * Clock.SECOND / ringBuffer.rate;
532536 Clock.ClockID id = audioClock.newSingleShotID(time);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r26204Fix for bug 11232. Improved port of GStreamer's GstBaseAudioSink (gstbaseaudi...tstarling11:36, 28 September 2007
r26350Applying cortado-truncation-bugfix.diff, as per r26204:...tstarling03:15, 3 October 2007

Status & tagging log