int main ( ) { using namespace Furrovine; using namespace Furrovine::Audio; using namespace Furrovine::Pipeline; //using namespace Furrovine::Graphics; const static uint32 samplerate = 48000; const static uint32 bitspersample = 16; const static uint32 channelcount = 2; PCMAudioData data = WavAudioLoader( )( "16bit.wav" ); AudioDevice baseaudiodevice( bitspersample, channelcount, samplerate ); RealtimeAudioDevice audiodevice( baseaudiodevice, milliseconds( 10 ) ); audiodevice.AddDSP( PerChannelDelay( audiodevice.PCMDescription( ), { seconds( 0.513 ), seconds( 0.490 ) }, real( 0.25 ) ) ); AudioBuffer buffer( data.Buffer(), 0, 0, 0, 0, 1 ); audiodevice.SubmitBuffer( buffer ); Stopwatch stopwatch; stopwatch.Start( ); while ( true ) { double seconds = stopwatch.ElapsedSeconds( ); if ( seconds < 1 ) continue; //audiodevice.SubmitBuffer( buffer ); stopwatch.Restart( ); } }