[Mplayer-cvslog] CVS: main/libao2 ao_oss.c,1.27,1.28
Arpi of Ize
arpi at mplayerhq.hu
Fri Jul 5 00:19:54 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main cfg-mencoder.h,1.43,1.44 configure,1.517,1.518 mencoder.c,1.137,1.138 mplayer.c,1.524,1.525 subreader.c,1.65,1.66 vobsub.c,1.12,1.13 vobsub.h,1.5,1.6
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs/native qtrle.c,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv28192/libao2
Modified Files:
ao_oss.c
Log Message:
subrip sometimes uses pipe as newline separator - patch by MOLNAR Andor <dolphy at inf.elte.hu>
Index: ao_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_oss.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ao_oss.c 28 Jun 2002 16:42:32 -0000 1.27
+++ ao_oss.c 4 Jul 2002 22:19:51 -0000 1.28
@@ -219,10 +219,12 @@
// close audio device
static void uninit(){
+ if(audio_fd<0) return; //already closed
#ifdef SNDCTL_DSP_RESET
ioctl(audio_fd, SNDCTL_DSP_RESET, NULL);
#endif
close(audio_fd);
+ audio_fd=-1;
}
// stop playing and empty buffers (for seeking/pause)
@@ -249,13 +251,14 @@
// stop playing, keep buffers (for pause)
static void audio_pause()
{
- // for now, just call reset();
- reset();
+ uninit();
}
// resume playing, after audio_pause()
static void audio_resume()
{
+ // for now, just call reset();
+ reset();
}
- Previous message: [Mplayer-cvslog] CVS: main cfg-mencoder.h,1.43,1.44 configure,1.517,1.518 mencoder.c,1.137,1.138 mplayer.c,1.524,1.525 subreader.c,1.65,1.66 vobsub.c,1.12,1.13 vobsub.h,1.5,1.6
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs/native qtrle.c,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list