annotate access_mpcontext.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 a7e5b99ac083
children afead6ecb8ba
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22286
a7e5b99ac083 Fix GUI compilation
uau
parents: 22284
diff changeset
1 struct MPContext;
22284
83366c8e1928 Fix menu to work with mpctx
uau
parents:
diff changeset
2 void *mpctx_get_video_out(struct MPContext *mpctx);
22286
a7e5b99ac083 Fix GUI compilation
uau
parents: 22284
diff changeset
3 void *mpctx_get_audio_out(struct MPContext *mpctx);
22284
83366c8e1928 Fix menu to work with mpctx
uau
parents:
diff changeset
4 void *mpctx_get_playtree_iter(struct MPContext *mpctx);
22286
a7e5b99ac083 Fix GUI compilation
uau
parents: 22284
diff changeset
5 void *mpctx_get_mixer(struct MPContext *mpctx);
a7e5b99ac083 Fix GUI compilation
uau
parents: 22284
diff changeset
6 int mpctx_get_global_sub_size(struct MPContext *mpctx);