comparison cfg-common.h @ 31425:2392ad3cec9c

Move af_cfg extern variable declaration to dec_audio.h.
author diego
date Sun, 20 Jun 2010 15:43:45 +0000
parents 283eac48391d
children 974cfaa54e83
comparison
equal deleted inserted replaced
31424:283eac48391d 31425:2392ad3cec9c
198 {"type", &mf_type, CONF_TYPE_STRING, 0, 0, 0, NULL}, 198 {"type", &mf_type, CONF_TYPE_STRING, 0, 0, 0, NULL},
199 {NULL, NULL, 0, 0, 0, 0, NULL} 199 {NULL, NULL, 0, 0, 0, 0, NULL}
200 }; 200 };
201 201
202 #include "libaf/af.h" 202 #include "libaf/af.h"
203 extern af_cfg_t af_cfg; // Audio filter configuration, defined in libmpcodecs/dec_audio.c
204 const m_option_t audio_filter_conf[]={ 203 const m_option_t audio_filter_conf[]={
205 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, 204 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
206 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL}, 205 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL},
207 {NULL, NULL, 0, 0, 0, 0, NULL} 206 {NULL, NULL, 0, 0, 0, 0, NULL}
208 }; 207 };