mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(Windows) Fixed an MSVC compiler warning.
This commit is contained in:
parent
5ee28ed8ec
commit
653cf4c46f
|
@ -215,7 +215,8 @@ void VideoFFmpegComponent::updatePlayer()
|
||||||
// Output any audio that has been added by the processing thread.
|
// Output any audio that has been added by the processing thread.
|
||||||
mAudioMutex.lock();
|
mAudioMutex.lock();
|
||||||
if (mOutputAudio.size()) {
|
if (mOutputAudio.size()) {
|
||||||
AudioManager::getInstance()->processStream(&mOutputAudio.at(0), mOutputAudio.size());
|
AudioManager::getInstance()->processStream(&mOutputAudio.at(0),
|
||||||
|
static_cast<unsigned int>(mOutputAudio.size()));
|
||||||
mOutputAudio.clear();
|
mOutputAudio.clear();
|
||||||
}
|
}
|
||||||
mAudioMutex.unlock();
|
mAudioMutex.unlock();
|
||||||
|
|
Loading…
Reference in a new issue