Mercurial > mplayer.hg
view libao2/audio_plugin.h @ 3164:3c5ad8d5ac00
radeon_vid new features:
- tested UYVY format and known as working
- YV12, I420, IYUV direct support
(were missed: p23_blank_lines_at_top, p23_v_accum_init in
radeon_vid_display_video - good info for Y800 support ;)
- experimental support for Rage128/Rage128Pro chips
author | nick |
---|---|
date | Tue, 27 Nov 2001 18:36:02 +0000 |
parents | ef2287ccc42b |
children | 1648d11fc36c |
line wrap: on
line source
/* functions supplied by plugins */ typedef struct ao_plugin_functions_s { ao_info_t *info; int (*control)(int cmd,int arg); int (*init)(); void (*uninit)(); void (*reset)(); int (*play)(); } ao_plugin_functions_t; /* Global data for all audio plugins */ typedef struct ao_plugin_data_s { void* data; /* current data block read only ok to change */ int len; /* setup and current buffer length */ int rate; /* setup data rate */ int channels; /* setup number of channels */ int format; /* setup format */ double sz_mult; /* Buffer size multiplier */ double sz_fix; /* Fix (as in static) extra buffer size */ float delay_mult; /* Delay multiplier */ float delay_fix; /* Fix delay */ }ao_plugin_data_t; extern ao_plugin_data_t ao_plugin_data; //List of plugins #define AOCONTROL_PLUGIN_SET_LEN 1