[Mplayer-cvslog] CVS: main/TOOLS audio-block2.c,1.2,1.3
GEREOFFY
arpi_esp at users.sourceforge.net
Thu May 10 05:39:56 CEST 2001
- Previous message: [Mplayer-cvslog] CVS: main/DOCS codecs.conf,1.31,1.32
- Next message: [Mplayer-cvslog] CVS: main configure,1.44,1.45 dec_audio.c,1.10,1.11 demuxer.c,1.6,1.7 demuxer.h,1.2,1.3 dll_init.c,1.16,1.17 mplayer.c,1.108,1.109 stheader.h,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/TOOLS
In directory usw-pr-cvs1:/tmp/cvs-serv21545/TOOLS
Modified Files:
audio-block2.c
Log Message:
new audio playback and A-V sync code
Index: audio-block2.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/audio-block2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** audio-block2.c 2001/05/08 21:28:04 1.2
--- audio-block2.c 2001/05/10 03:39:54 1.3
***************
*** 51,57 ****
// ioctl(audio_fd, SNDCTL_DSP_RESET, NULL);
- // print_info(audio_fd);
! ioctl(audio_fd, SNDCTL_DSP_RESET, NULL);
r=AFMT_S16_LE;ioctl (audio_fd, SNDCTL_DSP_SETFMT, &r);
--- 51,56 ----
// ioctl(audio_fd, SNDCTL_DSP_RESET, NULL);
! // ioctl(audio_fd, SNDCTL_DSP_RESET, NULL);
r=AFMT_S16_LE;ioctl (audio_fd, SNDCTL_DSP_SETFMT, &r);
***************
*** 60,64 ****
printf("audio_setup: your card doesn't support %d Hz samplerate\n",r);
! // print_info(audio_fd);
t0=t1=GetTimer();
--- 59,66 ----
printf("audio_setup: your card doesn't support %d Hz samplerate\n",r);
! r=0; ioctl (audio_fd, SNDCTL_DSP_GETBLKSIZE, &r);
! printf("fragment size = %d\n",r);
!
! print_info(audio_fd);
t0=t1=GetTimer();
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
- Previous message: [Mplayer-cvslog] CVS: main/DOCS codecs.conf,1.31,1.32
- Next message: [Mplayer-cvslog] CVS: main configure,1.44,1.45 dec_audio.c,1.10,1.11 demuxer.c,1.6,1.7 demuxer.h,1.2,1.3 dll_init.c,1.16,1.17 mplayer.c,1.108,1.109 stheader.h,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list