view stream/cache2.h @ 29706:54f54530a4d3

Make the ao_alsa play function always process a multiple of ao_data.outburst except for the last chunk. Should fix high CPU usage reported e.g. here: http://bugs.gentoo.org/show_bug.cgi?id=286020
author reimar
date Fri, 02 Oct 2009 16:49:41 +0000
parents 9e739bdb049c
children ce0122361a39
line wrap: on
line source

#ifndef MPLAYER_CACHE2_H
#define MPLAYER_CACHE2_H

#include "stream.h"

void cache_uninit(stream_t *s);
int cache_do_control(stream_t *stream, int cmd, void *arg);

#endif /* MPLAYER_CACHE2_H */