view mp_fifo.h @ 24892:80180dc13565

Change decode_audio() interface Rewrite decode_audio to better deal with filters that handle input in large blocks. It now always places output in sh_audio->a_out_buffer (which was always given as a parameter before) and reallocates the buffer if needed. After the changes filters can return arbitrarily large blocks of data without some of it being lost. The new version also allows simplifying some code.
author uau
date Thu, 01 Nov 2007 06:52:19 +0000
parents cd0ec0b1d931
children dfca45ad9326
line wrap: on
line source

#ifndef MP_FIFO_H
#define MP_FIFO_H

int mplayer_get_key(int fd);
void mplayer_put_key(int code);

#endif