2013-04-12 11:11:15 -07:00
|
|
|
#ifndef ECORE_AUDIO_IN_TONE_H
|
|
|
|
#define ECORE_AUDIO_IN_TONE_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_in_tone.h
|
2013-05-01 10:20:12 -07:00
|
|
|
* @brief Ecore_Audio tone input
|
2013-04-12 11:11:15 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2013-05-01 10:20:12 -07:00
|
|
|
* @defgroup ecore_audio_obj_in_tone - Ecore_Audio tone input
|
|
|
|
* @ingroup Ecore_Audio_Group
|
2013-04-12 11:11:15 -07:00
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2013-05-01 10:20:12 -07:00
|
|
|
/**
|
|
|
|
* @brief The frequency of the tone in Hz
|
|
|
|
*
|
|
|
|
* Set with @ref eo_base_data_set()
|
|
|
|
*/
|
2013-04-17 10:43:51 -07:00
|
|
|
#define ECORE_AUDIO_ATTR_TONE_FREQ "ecore_audio_freq"
|
|
|
|
|
2013-05-01 10:20:12 -07:00
|
|
|
#define ECORE_AUDIO_OBJ_IN_TONE_CLASS ecore_audio_obj_in_tone_class_get() /**< Ecore_Audio tone input */
|
2013-04-12 11:11:15 -07:00
|
|
|
|
2013-05-01 10:20:12 -07:00
|
|
|
/**
|
|
|
|
* @brief Get the Eo class ID
|
|
|
|
*
|
|
|
|
* @return The Eo class ID
|
|
|
|
*/
|
2013-09-27 08:26:25 -07:00
|
|
|
const Eo_Class *ecore_audio_obj_in_tone_class_get() EINA_CONST;
|
2013-04-12 11:11:15 -07:00
|
|
|
|
|
|
|
extern EAPI Eo_Op ECORE_AUDIO_OBJ_IN_TONE_BASE_ID;
|
|
|
|
|
|
|
|
enum Ecore_Audio_Obj_In_Tone_Sub_Ids
|
|
|
|
{
|
|
|
|
ECORE_AUDIO_OBJ_IN_TONE_SUB_ID_LAST
|
|
|
|
};
|
|
|
|
|
|
|
|
#define ECORE_AUDIO_OBJ_IN_TONE_ID(sub_id) (ECORE_AUDIO_OBJ_IN_TONE_BASE_ID + EO_TYPECHECK(enum Ecore_Audio_Obj_In_Tone_Sub_Ids, sub_id)
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|