ports/audio/rezound/files/patch-src_backend_CPortAudioSoundPlayer.cpp
Alexey Dokuchaev 44b1e2aafe - Resurrect `audio/rezound' as the days of gcc/libstdc++ mess are gone
(at least on tier-1 architectures)
- Update to version 0.13.1beta which includes many C++ related fixes
  (unfortunately, a number of issues still remain to be patched)
- Let the compiler handle template instantiation of ``TPoolFile'' [1]
- Use native atomics instead of pulling Boost header
- Convert few remaining sed(1) in-place editing to patch files
- Bump FOX toolkit version being used (1.4 -> 1.6)
- Get rid of absolute port origins when specifying dependencies
- Unbreak NLS option (and enable it back by default)

[1] http://bugs.gentoo.org/334797
2017-03-03 16:22:28 +00: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};