diff options
author | Diane Bruce <db@FreeBSD.org> | 2016-05-28 15:30:41 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2016-05-28 15:30:41 +0000 |
commit | 92fe8b5a76603da2cb8b1486cb55b9ce0ce17859 (patch) | |
tree | 9ea005489908099c4b2297254a619e053c907cdc /comms | |
parent | 3a773dd83f166d228d4e5085fb341dd0dbe95a63 (diff) |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp b/comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp new file mode 100644 index 000000000000..aa4928d39d37 --- /dev/null +++ b/comms/svxlink/files/patch-src_async_audio_AsyncAudioDeviceAlsa.cpp @@ -0,0 +1,11 @@ +--- src/async/audio/AsyncAudioDeviceAlsa.cpp.orig 2015-11-22 16:03:59 UTC ++++ src/async/audio/AsyncAudioDeviceAlsa.cpp +@@ -548,7 +548,7 @@ bool AudioDeviceAlsa::initParams(snd_pcm + return false; + } + +- if (::abs(real_rate - sample_rate) > 100) ++ if (::abs((int)real_rate - sample_rate) > 100) + { + cerr << "*** ERROR: The sample rate could not be set to " + << sample_rate << "Hz for ALSA device \"" << dev_name << "\". " |