2013-04-17 10:31:38 -07:00
|
|
|
#ifndef ECORE_AUDIO_OUT_PULSE_H
|
|
|
|
#define ECORE_AUDIO_OUT_PULSE_H
|
|
|
|
|
|
|
|
#include <Eina.h>
|
|
|
|
#include <Eo.h>
|
|
|
|
|
|
|
|
#ifdef EAPI
|
|
|
|
#undef EAPI
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __GNUC__
|
|
|
|
#if __GNUC__ >= 4
|
|
|
|
#define EAPI __attribute__ ((visibility("default")))
|
|
|
|
#else
|
|
|
|
#define EAPI
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#define EAPI
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file ecore_audio_obj_out_pulse.h
|
2013-05-01 10:20:12 -07:00
|
|
|
* @brief Ecore_Audio pulseaudio output
|
2013-04-17 10:31:38 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2013-05-01 10:20:12 -07:00
|
|
|
* @defgroup ecore_audio_obj_out_pulse - Ecore_Audio pulseaudio output
|
|
|
|
* @intogroup Ecore_Audio_Group
|
2013-04-17 10:31:38 -07:00
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2013-05-01 10:20:12 -07:00
|
|
|
#define ECORE_AUDIO_OBJ_OUT_PULSE_CLASS ecore_audio_obj_out_pulse_class_get() /**< Ecore_Audio pulseaudio output */
|
2013-04-17 10:31:38 -07:00
|
|
|
|
2013-05-01 10:20:12 -07:00
|
|
|
/**
|
|
|
|
* @brief Get the Eo class ID
|
|
|
|
*
|
|
|
|
* @return The Eo class ID
|
|
|
|
*/
|
2013-04-17 10:31:38 -07:00
|
|
|
const Eo_Class *ecore_audio_obj_out_pulse_class_get() EINA_CONST;
|
|
|
|
|
|
|
|
extern EAPI Eo_Op ECORE_AUDIO_OBJ_OUT_PULSE_BASE_ID;
|
|
|
|
|
|
|
|
enum _Ecore_Audio_Obj_Out_Pulse_Sub_Ids
|
|
|
|
{
|
|
|
|
ECORE_AUDIO_OBJ_OUT_PULSE_SUB_ID_LAST
|
|
|
|
};
|
|
|
|
|
|
|
|
#define ECORE_AUDIO_OBJ_OUT_PULSE_ID(sub_id) (ECORE_AUDIO_OBJ_OUT_PULSE_BASE_ID + EO_TYPECHECK(enum _Ecore_Audio_Obj_Out_Pulse_Sub_Ids, sub_id))
|
|
|
|
|
2013-08-27 07:42:24 -07:00
|
|
|
extern EAPI const Eo_Event_Description _ECORE_AUDIO_EV_OUT_PULSE_CONTEXT_READY;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief The output context is ready
|
|
|
|
*
|
|
|
|
* @since 1.8
|
|
|
|
*
|
|
|
|
* Emitted when the outout context is ready for playback
|
|
|
|
*/
|
|
|
|
#define ECORE_AUDIO_EV_OUT_PULSE_CONTEXT_READY (&(_ECORE_AUDIO_EV_OUT_PULSE_CONTEXT_READY))
|
|
|
|
|
|
|
|
extern EAPI const Eo_Event_Description _ECORE_AUDIO_EV_OUT_PULSE_CONTEXT_FAIL;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief The output context has failed
|
|
|
|
*
|
|
|
|
* @since 1.8
|
|
|
|
*
|
|
|
|
* Emitted when the outout context has failed. At this point the output is unusable and will never work, so it is advisable to delete it.
|
|
|
|
*/
|
|
|
|
#define ECORE_AUDIO_EV_OUT_PULSE_CONTEXT_FAIL (&(_ECORE_AUDIO_EV_OUT_PULSE_CONTEXT_FAIL))
|
|
|
|
|
2013-04-17 10:31:38 -07:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|