diff -r 5158c0d3bde3 -r d00bf4f57250 baseport/syborg/soundsc/virtio_audio.h --- a/baseport/syborg/soundsc/virtio_audio.h Mon May 10 11:37:38 2010 +0100 +++ b/baseport/syborg/soundsc/virtio_audio.h Wed May 12 23:13:16 2010 +0100 @@ -36,10 +36,10 @@ static const TUint KCmdMaxBufCount = 8; static const TUint KControlQueueId = 0; public: - enum Command { ERun = 5, EStop, EPause, EResume }; + enum Command { ERun = 5, EStop, EPause, EResume, EShutDown }; DControl( VirtIo::MIoHandler& aIoHandler, TUint32 aDataQueueId ) - : iIoHandler( aIoHandler ), iDataQueueId( aDataQueueId) + : iIoHandler( aIoHandler ), iDataQueueId( aDataQueueId), iIsRunning( 0 ) {} ~DControl(); @@ -83,9 +83,6 @@ void AddCommand( Command aCmd ); - void WaitForCompletion(); - static TBool CheckProcessing( TAny* aSelf ); - VirtIo::MIoHandler& iIoHandler; TUint iDataQueueId; @@ -94,6 +91,8 @@ TBufferInfo* iBufferInfo; // unmanaged StreamDirection iDirection; + + TUint iIsRunning; }; } // namespace Audio