summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-19 15:16:22 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-19 15:16:22 +0200
commit27f92da20c8ef2807fa0f683d2f98bcc946e7d46 (patch)
treeebfa34d8742528c3f4c17b5c2cf3c7e33572cc10 /dvbapi.c
parenta706fb8643fd891af400c4330417b72f7da8c897 (diff)
downloadvdr-0.9.2.tar.gz
vdr-0.9.2.tar.bz2
Fixed the chirping sound after Pause/Play of a DVD0.9.2
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbapi.c b/dvbapi.c
index e83d9d1c..6ff39b3d 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -7,7 +7,7 @@
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
*
- * $Id: dvbapi.c 1.108 2001/08/19 14:36:38 kls Exp $
+ * $Id: dvbapi.c 1.109 2001/08/19 15:09:48 kls Exp $
*/
//#define DVDDEBUG 1
@@ -756,7 +756,7 @@ void cPlayBuffer::Pause(void)
Empty(true);
fastForward = fastRewind = false;
CHECK(ioctl(videoDev, paused ? VIDEO_FREEZE : VIDEO_CONTINUE));
- CHECK(ioctl(audioDev, AUDIO_SET_MUTE, paused));
+ //CHECK(ioctl(audioDev, AUDIO_SET_MUTE, paused)); //XXX this caused chirping sound when playing a DVD
still = false;
if (empty)
Empty(false);
@@ -771,7 +771,7 @@ void cPlayBuffer::Play(void)
still = false;
CHECK(ioctl(videoDev, paused ? VIDEO_CONTINUE : VIDEO_PLAY));
CHECK(ioctl(audioDev, AUDIO_SET_AV_SYNC, true));
- CHECK(ioctl(audioDev, AUDIO_SET_MUTE, false));
+ //CHECK(ioctl(audioDev, AUDIO_SET_MUTE, false)); //XXX this caused chirping sound when playing a DVD
if (empty)
Empty(false);
fastForward = fastRewind = paused = false;