627 |
|
|
628 |
// (try to resolve the audio device context) |
// (try to resolve the audio device context) |
629 |
EngineChannel* pEngineChannel = dynamic_cast<EngineChannel*>(pConsumer); |
EngineChannel* pEngineChannel = dynamic_cast<EngineChannel*>(pConsumer); |
630 |
Engine* pEngine = dynamic_cast<Engine*>(pEngineChannel->GetEngine()); |
Engine* pEngine = pEngineChannel ? dynamic_cast<Engine*>(pEngineChannel->GetEngine()) : NULL; |
631 |
AudioOutputDevice* pDevice = (pEngine) ? pEngine->pAudioOutputDevice : NULL; |
AudioOutputDevice* pDevice = (pEngine) ? pEngine->pAudioOutputDevice : NULL; |
632 |
|
|
633 |
uint maxSamplesPerCycle = |
uint maxSamplesPerCycle = |