diff src/modplug/modplugbmp.cxx @ 1447:195b5657303e

updated input plugins to use set_pb_ready to signal to the core that they're ready for playback
author Giacomo Lozito <james@develia.org>
date Fri, 10 Aug 2007 22:00:07 +0200
parents 833a7d4ea063
children 1c5688582a4e
line wrap: on
line diff
--- a/src/modplug/modplugbmp.cxx	Fri Aug 10 12:42:07 2007 -0500
+++ b/src/modplug/modplugbmp.cxx	Fri Aug 10 22:00:07 2007 +0200
@@ -312,7 +312,7 @@
 	mStopped = true;
 }
 
-void ModplugXMMS::PlayFile(const string& aFilename)
+void ModplugXMMS::PlayFile(const string& aFilename, InputPlayback *ipb)
 {
 	mStopped = true;
 	mPaused = false;
@@ -446,6 +446,7 @@
 	);
 
 	mDecodeThread = g_thread_self();
+	ipb->set_pb_ready(ipb);
 	this->PlayLoop();
 }