Mercurial > audlegacy
diff Plugins/Input/modplug/modplugbmp.cpp @ 414:7fa1738514d5 trunk
[svn] Convert all input plugins (except timidity & wav-sndfile) to produce_audio.
| author | chainsaw |
|---|---|
| date | Tue, 10 Jan 2006 12:22:40 -0800 |
| parents | 4c8545dc17c2 |
| children | d539e5c5f730 |
line wrap: on
line diff
--- a/Plugins/Input/modplug/modplugbmp.cpp Mon Jan 09 15:00:10 2006 -0800 +++ b/Plugins/Input/modplug/modplugbmp.cpp Tue Jan 10 12:22:40 2006 -0800 @@ -14,6 +14,9 @@ #include "stddefs.h" #include "archive/open.h" #include "libaudacious/configdb.h" +extern "C" { +#include "audacious/output.h" +} // ModplugXMMS member functions =============================== @@ -250,18 +253,14 @@ if(mStopped) break; - mOutPlug->write_audio - ( - mBuffer, - mBufSize - ); - mInPlug->add_vis_pcm + produce_audio ( mPlayed, mFormat, lChannels, mBufSize, - mBuffer + mBuffer, + NULL ); mPlayed += mBufTime;
