comparison libao2/audio_out.h @ 25913:21a1dc062bc5

ao_functions_t should be const, part 1
author reimar
date Fri, 01 Feb 2008 20:11:14 +0000
parents 3baf6a2283da
children 4129c8cfa742
comparison
equal deleted inserted replaced
25912:92db8b8c20d4 25913:21a1dc062bc5
43 43
44 extern char *ao_subdevice; 44 extern char *ao_subdevice;
45 extern ao_data_t ao_data; 45 extern ao_data_t ao_data;
46 46
47 void list_audio_out(void); 47 void list_audio_out(void);
48 ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate,int channels,int format,int flags); 48 const ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate,int channels,int format,int flags);
49 49
50 // NULL terminated array of all drivers 50 // NULL terminated array of all drivers
51 extern ao_functions_t* audio_out_drivers[]; 51 extern const ao_functions_t* const audio_out_drivers[];
52 52
53 #define CONTROL_OK 1 53 #define CONTROL_OK 1
54 #define CONTROL_TRUE 1 54 #define CONTROL_TRUE 1
55 #define CONTROL_FALSE 0 55 #define CONTROL_FALSE 0
56 #define CONTROL_UNKNOWN -1 56 #define CONTROL_UNKNOWN -1