diff src/modplug/modplugbmp.cxx @ 1998:8f3188746b64

chase last changeset in aud
author William Pitcock <nenolod@atheme.org>
date Mon, 08 Oct 2007 02:02:02 -0500
parents 4b78df9dcf93
children 2ffc6a69fcd1
line wrap: on
line diff
--- a/src/modplug/modplugbmp.cxx	Sun Oct 07 18:22:16 2007 -0500
+++ b/src/modplug/modplugbmp.cxx	Mon Oct 08 02:02:02 2007 -0500
@@ -242,7 +242,7 @@
 	return false;
 }
 
-void ModplugXMMS::PlayLoop()
+void ModplugXMMS::PlayLoop(InputPlayback *playback)
 {
 	uint32 lLength;
 	//the user might change the number of channels while playing.
@@ -303,9 +303,9 @@
 		if(mStopped)
 			break;
 		
-		produce_audio
+		playback->pass_audio
 		(
-			mPlayed,
+			playback,
 			mFormat,
 			lChannels,
 			mBufSize,
@@ -452,7 +452,7 @@
 
 	mDecodeThread = g_thread_self();
 	ipb->set_pb_ready(ipb);
-	this->PlayLoop();
+	this->PlayLoop(ipb);
 }
 
 void ModplugXMMS::Stop(void)