A few minor cleanups and updates

This commit is contained in:
Lennart Poettering 2009-01-08 21:13:18 +01:00
parent aff7768fb1
commit e5c093897e
5 changed files with 21 additions and 14 deletions

View file

@ -545,9 +545,9 @@ static int update_sw_params(struct userdata *u) {
u->hwbuf_unused_frames = (snd_pcm_sframes_t)
(PA_LIKELY(b < u->hwbuf_size) ?
((u->hwbuf_size - b) / u->frame_size) : 0);
fix_tsched_watermark(u);
}
fix_tsched_watermark(u);
}
pa_log_debug("hwbuf_unused_frames=%lu", (unsigned long) u->hwbuf_unused_frames);