diff options
author | anders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-20 15:30:22 +0000 |
---|---|---|
committer | anders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-20 15:30:22 +0000 |
commit | 30c2c12d50b1b6b3b2dda4ecc9ce40e951f57b33 (patch) | |
tree | facfd96b7b63c5d3ef24cea4c7929d890a234b38 /libao2/audio_plugin.h | |
parent | 12dd9ded9cb31217a9a43a5404e35c0b1559becf (diff) | |
download | mpv-30c2c12d50b1b6b3b2dda4ecc9ce40e951f57b33.tar.bz2 mpv-30c2c12d50b1b6b3b2dda4ecc9ce40e951f57b33.tar.xz |
Added plugin for fractional resampling (alpha code)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3632 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/audio_plugin.h')
-rw-r--r-- | libao2/audio_plugin.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libao2/audio_plugin.h b/libao2/audio_plugin.h index 59f20d7c05..cfe71792ce 100644 --- a/libao2/audio_plugin.h +++ b/libao2/audio_plugin.h @@ -34,6 +34,7 @@ typedef struct ao_plugin_cfg_s char* plugin_list; // List of used plugins read from cfg int pl_format_type; // Output format int pl_delay_len; // Number of samples to delay sound output + int pl_resample_fout; // Output frequency from resampling } ao_plugin_cfg_t; extern volatile ao_plugin_cfg_t ao_plugin_cfg; @@ -42,23 +43,26 @@ extern volatile ao_plugin_cfg_t ao_plugin_cfg; #define CFG_DEFAULTS { \ NULL, \ AFMT_S16_LE, \ - 0 \ + 0, \ + 48000 \ }; // This block should not be available in the pl_xxxx files // due to compilation issues #ifndef PLUGIN -#define NPL 3+1 // Number of PLugins ( +1 list ends with NULL ) +#define NPL 4+1 // Number of PLugins ( +1 list ends with NULL ) // List of plugins extern ao_plugin_functions_t audio_plugin_delay; extern ao_plugin_functions_t audio_plugin_format; extern ao_plugin_functions_t audio_plugin_surround; +extern ao_plugin_functions_t audio_plugin_resample; #define AO_PLUGINS { \ &audio_plugin_delay, \ &audio_plugin_format, \ &audio_plugin_surround, \ + &audio_plugin_resample, \ NULL \ } #endif /* PLUGIN */ |