diff options
Diffstat (limited to 'libvideoeditor/lvpp/AudioPlayerBase.cpp')
-rw-r--r-- | libvideoeditor/lvpp/AudioPlayerBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/AudioPlayerBase.cpp b/libvideoeditor/lvpp/AudioPlayerBase.cpp index 26c6a63..eac45b1 100644 --- a/libvideoeditor/lvpp/AudioPlayerBase.cpp +++ b/libvideoeditor/lvpp/AudioPlayerBase.cpp @@ -243,7 +243,7 @@ void AudioPlayerBase::reset() { } // static -void AudioPlayerBase::AudioCallback(int event, void *user, void *info) { +void AudioPlayerBase::AudioCallback(AudioTrack::event_type event, void *user, void *info) { static_cast<AudioPlayerBase *>(user)->AudioCallback(event, info); } @@ -269,7 +269,7 @@ size_t AudioPlayerBase::AudioSinkCallback( return me->fillBuffer(buffer, size); } -void AudioPlayerBase::AudioCallback(int event, void *info) { +void AudioPlayerBase::AudioCallback(AudioTrack::event_type event, void *info) { if (event != AudioTrack::EVENT_MORE_DATA) { return; } |