mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the chirping sound after Pause/Play of a DVD
This commit is contained in:
parent
a706fb8643
commit
27f92da20c
2
HISTORY
2
HISTORY
@ -661,3 +661,5 @@ Video Disk Recorder Revision History
|
|||||||
"Setup" menu (see MANUAL for details, and cEventInfo::FixEpgBugs() in eit.c
|
"Setup" menu (see MANUAL for details, and cEventInfo::FixEpgBugs() in eit.c
|
||||||
for the actual implementation).
|
for the actual implementation).
|
||||||
- Fixed broken recordings after a driver buffer overflow.
|
- Fixed broken recordings after a driver buffer overflow.
|
||||||
|
- Fixed the chirping sound after Pause/Play of a DVD (thanks to Andreas
|
||||||
|
Schultz).
|
||||||
|
6
dvbapi.c
6
dvbapi.c
@ -7,7 +7,7 @@
|
|||||||
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
|
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
|
||||||
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
|
* 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
|
//#define DVDDEBUG 1
|
||||||
@ -756,7 +756,7 @@ void cPlayBuffer::Pause(void)
|
|||||||
Empty(true);
|
Empty(true);
|
||||||
fastForward = fastRewind = false;
|
fastForward = fastRewind = false;
|
||||||
CHECK(ioctl(videoDev, paused ? VIDEO_FREEZE : VIDEO_CONTINUE));
|
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;
|
still = false;
|
||||||
if (empty)
|
if (empty)
|
||||||
Empty(false);
|
Empty(false);
|
||||||
@ -771,7 +771,7 @@ void cPlayBuffer::Play(void)
|
|||||||
still = false;
|
still = false;
|
||||||
CHECK(ioctl(videoDev, paused ? VIDEO_CONTINUE : VIDEO_PLAY));
|
CHECK(ioctl(videoDev, paused ? VIDEO_CONTINUE : VIDEO_PLAY));
|
||||||
CHECK(ioctl(audioDev, AUDIO_SET_AV_SYNC, true));
|
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)
|
if (empty)
|
||||||
Empty(false);
|
Empty(false);
|
||||||
fastForward = fastRewind = paused = false;
|
fastForward = fastRewind = paused = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user