Exemplo n.º 1
0
void CAPlayThroughHost::DeletePlayThrough()
{
	if(mPlayThrough)
	{
		mPlayThrough->Stop();
		RemoveDeviceListeners(mPlayThrough->GetInputDeviceID());
		delete mPlayThrough;
		mPlayThrough = NULL;
	}
}
Exemplo n.º 2
0
void CAPlayThroughHost::DeletePlayThrough()
{
	if(mPlayThrough)
	{
		mPlayThrough->Stop();
		RemoveDeviceListeners(mPlayThrough->GetInputDeviceID());
        dispatch_release(StreamListenerQueue);
        StreamListenerQueue = NULL;
		delete mPlayThrough;
		mPlayThrough = NULL;
	}
}