summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio/ecore_audio_private.h
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-05-03 17:44:01 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-05-03 17:44:01 -0300
commit70e882cefb2b9383d2d7d15df1bb05b6d770393c (patch)
tree5fb0cc5f334c865f1db272410dba27ec7ccbeb31 /src/lib/ecore_audio/ecore_audio_private.h
parentd8b0c6e1da073766ce2c6fb3ff6677f7bf8c34b9 (diff)
Revert "ecore_audio: Remove old structs that we don't need anymore"
This reverts commit 96d98696849ac2b141d6eb9d68238ff8c628c1ac.
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_audio/ecore_audio_private.h43
1 files changed, 42 insertions, 1 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_private.h b/src/lib/ecore_audio/ecore_audio_private.h
index 29ae400332..a28ca7c374 100644
--- a/src/lib/ecore_audio/ecore_audio_private.h
+++ b/src/lib/ecore_audio/ecore_audio_private.h
@@ -71,10 +71,26 @@ extern int _ecore_audio_log_dom;
71 * @{ 71 * @{
72 */ 72 */
73 73
74typedef struct _Ecore_Audio_Object Ecore_Audio_Object;
75typedef struct _Ecore_Audio_Input Ecore_Audio_Input; 74typedef struct _Ecore_Audio_Input Ecore_Audio_Input;
76typedef struct _Ecore_Audio_Output Ecore_Audio_Output; 75typedef struct _Ecore_Audio_Output Ecore_Audio_Output;
77 76
77/**
78 * @brief The structure representing an Ecore_Audio module
79 */
80struct _Ecore_Audio_Module
81{
82 ECORE_MAGIC;
83 Ecore_Audio_Type type;
84 char *name;
85 Eina_List *inputs;
86 Eina_List *outputs;
87
88 void *priv;
89
90 struct input_api *in_ops;
91 struct output_api *out_ops;
92};
93
78struct _Ecore_Audio_Vio_Internal { 94struct _Ecore_Audio_Vio_Internal {
79 Ecore_Audio_Vio *vio; 95 Ecore_Audio_Vio *vio;
80 void *data; 96 void *data;
@@ -126,6 +142,31 @@ struct _Ecore_Audio_Input
126 Eina_Bool ended; 142 Eina_Bool ended;
127}; 143};
128 144
145extern Eina_List *ecore_audio_modules;
146
147#ifdef HAVE_ALSA
148/* ecore_audio_alsa */
149Ecore_Audio_Module *ecore_audio_alsa_init(void);
150void ecore_audio_alsa_shutdown(void);
151#endif /* HAVE_ALSA */
152
153#ifdef HAVE_PULSE
154Ecore_Audio_Module *ecore_audio_pulse_init(void);
155void ecore_audio_pulse_shutdown(void);
156#endif /* HAVE_PULSE */
157
158#ifdef HAVE_SNDFILE
159/* ecore_audio_sndfile */
160Ecore_Audio_Module *ecore_audio_sndfile_init(void);
161void ecore_audio_sndfile_shutdown(void);
162#endif /* HAVE_SNDFILE */
163
164Ecore_Audio_Module *ecore_audio_tone_init(void);
165void ecore_audio_tone_shutdown(void);
166
167Ecore_Audio_Module *ecore_audio_custom_init(void);
168void ecore_audio_custom_shutdown(void);
169
129/** 170/**
130 * @} 171 * @}
131 */ 172 */