[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


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



More information about the MPlayer-cvslog mailing list