Permalink
Browse files

One change got committed by mistake

  • Loading branch information...
1 parent 0d719aa commit 4e4653fa63833b76092c1c956827348472799a2c @jyavenard jyavenard committed Dec 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/audiooutputalsa.cpp
View
2 mythtv/libs/libmyth/audiooutputalsa.cpp
@@ -684,7 +684,7 @@ int AudioOutputALSA::SetParameters(snd_pcm_t *handle, snd_pcm_format_t format,
/* set member variables */
soundcard_buffer_size = buffer_size * output_bytes_per_frame;
- fragment_size = (period_size * output_bytes_per_frame);
+ fragment_size = (period_size * output_bytes_per_frame) >> 1;
/* get the current swparams */
err = snd_pcm_sw_params_current(handle, swparams);

0 comments on commit 4e4653f

Please sign in to comment.