view osdep/shmem.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 3c856c0fc45e
children 6ac1ece1f9fe
line wrap: on
line source


void* shmem_alloc(int size);
void shmem_free(void* p,int size);