opnsense-ports/audio/rezound/files/patch-src_backend_CPortAudioSoundPlayer.cpp
Franco Fichtner 9951c63c8e */*: sync with upstream
Taken from: FreeBSD
2017-03-04 11:00:52 +01:00

11 lines
473 B
C++

--- src/backend/CPortAudioSoundPlayer.cpp.orig 2013-12-27 03:56:49 UTC
+++ src/backend/CPortAudioSoundPlayer.cpp
@@ -73,7 +73,7 @@ void CPortAudioSoundPlayer::initialize()
// open a PortAudio stream
#ifdef ENABLE_PORTAUDIO_V19
PaStreamParameters output = { gPortAudioOutputDevice,
- gDesiredOutputChannelCount,
+ static_cast<int>(gDesiredOutputChannelCount),
sampleFormat,
Pa_GetDeviceInfo(gPortAudioOutputDevice)->defaultLowOutputLatency ,
NULL};