patch-libao2_ao_alsa_c 509 B

1234567891011
  1. --- mplayer-1.0-29987.orig/libao2/ao_alsa.c 2009-12-10 21:54:25.000000000 +0100
  2. +++ mplayer-1.0-29987/libao2/ao_alsa.c 2009-12-10 22:38:31.000000000 +0100
  3. @@ -772,8 +772,6 @@ static int play(void* data, int len, int
  4. {
  5. int num_frames;
  6. snd_pcm_sframes_t res = 0;
  7. - if (!(flags & AOPLAY_FINAL_CHUNK) && len > ao_data.outburst)
  8. - len = len / ao_data.outburst * ao_data.outburst;
  9. num_frames = len / bytes_per_sample;
  10. //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i, len=%i\n",num_frames,len);