[Summary] Following review Paul did after 9b0fc7b743219b8daecbef91c9772937fd874822 [9b0fc7b] and 72e1510766608180fc7975fde35c9155494a8b5d [72e1510].

This commit is contained in:
Valeriy Kamyshniy
2015-02-20 20:19:33 +02:00
committed by Paul Davis
parent d6574c9c40
commit 91ae97d5c9
4 changed files with 10 additions and 10 deletions

View File

@@ -87,7 +87,7 @@ public:
virtual WTErr ShowConfigPanel (void *pParam);///< Show Control Panel - in case of ASIO this will work only with Active device!
virtual int AudioCallback (float *pOutputBuffer, unsigned long framesPerBuffer, uint64_t inSampleTime, uint64_t inCycleStartTime);
virtual int AudioCallback (float *pOutputBuffer, unsigned long framesPerBuffer, int64_t inSampleTime, uint64_t inCycleStartTime);
AudioDeviceID DeviceID () {return m_DeviceID;}
@@ -100,8 +100,8 @@ protected:
AudioDeviceID m_DeviceID; ///< The CoreAudio device id
bool m_StopRequested; ///< should be set to true when want to stop, set to false otherwise.
float *m_pInputData; ///< This is what came in with the most recent callback.
uint64_t m_SampleCounter; ///< The current running sample counter, updated by the audio callback.
uint64_t m_SampleCountAtLastIdle; ///< What was the sample count last time we checked...
int64_t m_SampleCounter; ///< The current running sample counter, updated by the audio callback.
int64_t m_SampleCountAtLastIdle; ///< What was the sample count last time we checked...
int m_StalledSampleCounter; ///< The number of idle calls with same sample count detected
int m_ChangeCheckCounter; ///< The number of idle calls passed since we checked the buffer size change.