summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-05-03 16:40:09 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-05-03 17:04:11 +0100
commit4db03f700cfaa8261db11a3a0c7162f0e7b71f0d (patch)
treed4846cb38e27f024e5d4ecdfb4fc27ade33279da /src/lib/ecore_audio
parent73a088141e4c247ae1ac2d573b7ac4b7e92ff070 (diff)
ecore_audio: Add alsa support
This is not well tested and thus disabled by default Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/Ecore_Audio.h2
-rw-r--r--src/lib/ecore_audio/ecore_audio_private.h8
2 files changed, 2 insertions, 8 deletions
diff --git a/src/lib/ecore_audio/Ecore_Audio.h b/src/lib/ecore_audio/Ecore_Audio.h
index e97706032f..5e676348f0 100644
--- a/src/lib/ecore_audio/Ecore_Audio.h
+++ b/src/lib/ecore_audio/Ecore_Audio.h
@@ -212,6 +212,8 @@ EAPI int ecore_audio_shutdown(void);
212 212
213#include <ecore_audio_obj_out_pulse.h> 213#include <ecore_audio_obj_out_pulse.h>
214 214
215#include <ecore_audio_obj_out_alsa.h>
216
215/** 217/**
216 * @} 218 * @}
217 */ 219 */
diff --git a/src/lib/ecore_audio/ecore_audio_private.h b/src/lib/ecore_audio/ecore_audio_private.h
index 35afa85f4c..a28ca7c374 100644
--- a/src/lib/ecore_audio/ecore_audio_private.h
+++ b/src/lib/ecore_audio/ecore_audio_private.h
@@ -146,14 +146,6 @@ extern Eina_List *ecore_audio_modules;
146 146
147#ifdef HAVE_ALSA 147#ifdef HAVE_ALSA
148/* ecore_audio_alsa */ 148/* ecore_audio_alsa */
149struct _Ecore_Audio_Alsa
150{
151 ECORE_MAGIC;
152 snd_pcm_t *handle;
153 unsigned int channels;
154 unsigned int samplerate;
155};
156
157Ecore_Audio_Module *ecore_audio_alsa_init(void); 149Ecore_Audio_Module *ecore_audio_alsa_init(void);
158void ecore_audio_alsa_shutdown(void); 150void ecore_audio_alsa_shutdown(void);
159#endif /* HAVE_ALSA */ 151#endif /* HAVE_ALSA */