diff options
Diffstat (limited to 'examples/sound/cdstream/stream.c')
| -rw-r--r-- | examples/sound/cdstream/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/sound/cdstream/stream.c b/examples/sound/cdstream/stream.c index bf73b2f..aaf5703 100644 --- a/examples/sound/cdstream/stream.c +++ b/examples/sound/cdstream/stream.c @@ -145,14 +145,14 @@ void Stream_Destroy(Stream_Context *ctx) { ExitCriticalSection(); } -bool Stream_Start(Stream_Context *ctx) { +bool Stream_Start(Stream_Context *ctx, bool resume) { if (_active_ctx) return false; _active_ctx = ctx; // Wait for the first chunk to be buffered and ready to play. - if (!ctx->chunk_counter) { + if (!resume) { _spu_irq_handler(); SpuIsTransferCompleted(SPU_TRANSFER_WAIT); } |
