summaryrefslogtreecommitdiff
path: root/multimedia/kdemultimedia3/files/patch-kmix_mixer_oss.cpp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-18 09:22:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-18 09:22:07 +0000
commit2c918e019a040b30b78004dfa679f0734a3481e4 (patch)
tree7631751c4cf18bd2dece0d8fb9c4030596690172 /multimedia/kdemultimedia3/files/patch-kmix_mixer_oss.cpp
parentReassign this port to alex-goncharov@comcast.net. (diff)
The KDE FreeBSD team is proud to announce the release
of KDE 3.5.9 for FreeBSD. The official KDE 3.5.9 release notes can be found at: http://www.kde.org/announcements/announce-3.5.9.php After the KDE 4.1.0 import the team found time to make KDE 3.5.9 ready for the Ports tree. KDE 3.5.9 was released six months ago and 3.5.10 is coming soon. We are not sure we have time to get 3.5.10 for FreeBSD 7.1/6.4 release, but we would have minimum 3.5.9 for those people who prefer to stay with KDE3. Of course Thanks to all Testers.
Diffstat (limited to 'multimedia/kdemultimedia3/files/patch-kmix_mixer_oss.cpp')
-rw-r--r--multimedia/kdemultimedia3/files/patch-kmix_mixer_oss.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/multimedia/kdemultimedia3/files/patch-kmix_mixer_oss.cpp b/multimedia/kdemultimedia3/files/patch-kmix_mixer_oss.cpp
deleted file mode 100644
index b5be16597dea..000000000000
--- a/multimedia/kdemultimedia3/files/patch-kmix_mixer_oss.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
---- kmix/mixer_oss.cpp Fri Sep 14 18:02:58 2007
-+++ kmix/mixer_oss.cpp Fri Sep 14 19:45:27 2007
-@@ -243,6 +243,18 @@
- if (ioctl(m_fd, SOUND_MIXER_READ_RECSRC, &i_recsrc) == -1)
- errormsg(Mixer::ERR_READ);
-
-+ // If the record source is supposed to be on, but wasn't set, explicitly
-+ // set the record source. Not all cards support multiple record sources.
-+ // As a result, we also need to do the read & write again.
-+ if (((i_recsrc & ( 1<<devnum)) == 0) && on)
-+ {
-+ oldrecsrc = i_recsrc = 1 << devnum;
-+ if (ioctl(m_fd, SOUND_MIXER_WRITE_RECSRC, &i_recsrc) == -1)
-+ errormsg (Mixer::ERR_WRITE);
-+ if (ioctl(m_fd, SOUND_MIXER_READ_RECSRC, &i_recsrc) == -1)
-+ errormsg(Mixer::ERR_READ);
-+ }
-+
- // PORTING: Hint: Do not forget to set i_recsrc to the new valid
- // record source mask.
-