diff options
author | Diane Bruce <db@FreeBSD.org> | 2007-09-25 22:31:04 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2007-09-25 22:31:04 +0000 |
commit | 3131bc5e5503e0575b4fe0305a1535f070ffeb3f (patch) | |
tree | e34b8e6187c4be5089e6c346d7bb31ca8b68c3ef /comms/fldigi/files/patch-src_soundcard_sound.cxx | |
parent | Fix a compilation error when CFLAGS are set in /etc/make.conf. (diff) |
- update to 1.342
- 1.342 includes bug fixes for memory leaks
- vendor has improved support for FreeBSD so several patches can go.
Notes
Notes:
svn path=/head/; revision=200112
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"); - } |