diff options
Diffstat (limited to 'comms/fldigi/files/patch-src_soundcard_sound.cxx')
-rw-r--r-- | comms/fldigi/files/patch-src_soundcard_sound.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/comms/fldigi/files/patch-src_soundcard_sound.cxx b/comms/fldigi/files/patch-src_soundcard_sound.cxx deleted file mode 100644 index 187a1483a1f5..000000000000 --- a/comms/fldigi/files/patch-src_soundcard_sound.cxx +++ /dev/null @@ -1,30 +0,0 @@ ---- src/soundcard/sound.cxx.orig Fri Jan 26 10:49:19 2007 -+++ src/soundcard/sound.cxx Mon Jan 29 21:51:41 2007 -@@ -16,7 +16,9 @@ - - try { - Open(O_RDONLY); -+#if 0 - getVersion(); -+#endif - getCapabilities(); - getFormats(); - Close(); -@@ -80,7 +82,7 @@ - { - int sndparam; - // Try to get ~100ms worth of samples per fragment -- sndparam = (int)log2(sample_frequency * 0.1); -+ sndparam = (int)log2((unsigned int)(sample_frequency * 0.1)); - // double since we are using 16 bit samples - sndparam += 1; - // Unlimited amount of buffers for RX, four for TX -@@ -122,7 +124,7 @@ - void cSound::getVersion() - { - version = 0; -- if (ioctl(device_fd, OSS_GETVERSION, &version) == -1) { -+ if (ioctl(device_fd, SOUND_VERSION, &version) == -1) { - version = -1; - throw SndException("OSS Version"); - } |