diff options
-rw-r--r-- | variablespeed/jni/variablespeed.cc | 2 | ||||
-rw-r--r-- | variablespeed/jni/variablespeed.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/variablespeed/jni/variablespeed.cc b/variablespeed/jni/variablespeed.cc index 73ac609..b5d9067 100644 --- a/variablespeed/jni/variablespeed.cc +++ b/variablespeed/jni/variablespeed.cc @@ -564,7 +564,7 @@ SLuint32 AudioEngine::GetChannelCount() { } static void CreateAndRealizeAudioPlayer(SLuint32 slSampleRate, - size_t channelCount, SLuint32 slChannels, SLint32 audioStreamType, SLObjectItf &outputMix, + SLuint32 channelCount, SLuint32 slChannels, SLint32 audioStreamType, SLObjectItf &outputMix, SLObjectItf &audioPlayer, SLEngineItf &engineInterface) { // Define the source and sink for the audio player: comes from a buffer queue // and goes to the output mix. diff --git a/variablespeed/jni/variablespeed.h b/variablespeed/jni/variablespeed.h index 07cba0f..cf856da 100644 --- a/variablespeed/jni/variablespeed.h +++ b/variablespeed/jni/variablespeed.h @@ -86,7 +86,7 @@ class AudioEngine { bool HasSampleRateAndChannels(); SLuint32 GetSLSampleRate(); SLuint32 GetSLChannels(); - size_t GetChannelCount(); + SLuint32 GetChannelCount(); // The single global audio engine instance. static AudioEngine* audioEngine_; |