Data Structures | Public Member Functions | Static Public Member Functions
ecore_audio_in Struct Reference

Data Structures

struct  address_const_of
 
struct  address_of
 

Public Member Functions

 ecore_audio_in (::efl::eo::parent_type _p=(::efl::eo::parent=nullptr))
 
 ecore_audio_in (Eo *eo)
 Eo Constructor. More...
 
 ecore_audio_in (std::nullptr_t)
 nullptr_t Constructor. More...
 
 ecore_audio_in (ecore_audio_in const &other)
 Copy Constructor.
 
ssize_t read (void *buf_, size_t len_) const
 Read from the input. More...
 
ssize_t read_internal (void *buf_, size_t len_) const
 Internal read function. More...
 
double seek (double offs_, int mode_) const
 Seek within the input. More...
 
double speed_get () const
 Get the playback speed of the input. More...
 
void speed_set (double speed_) const
 Set the playback speed of the input. More...
 
int samplerate_get () const
 Get the he sample-rate of the input. More...
 
void samplerate_set (int samplerate_) const
 Set the sample-rate of the input. More...
 
int channels_get () const
 Get the amount of channels the input has. More...
 
void channels_set (int channels_) const
 Set the amount of channels the input has. More...
 
bool preloaded_get () const
 Get the the preloaded state of the input. More...
 
void preloaded_set (bool preloaded_) const
 Set the preloaded state of the input. More...
 
bool looped_get () const
 Get the looped state of the input. More...
 
void looped_set (bool looped_) const
 Set the looped state of the input. More...
 
double length_get () const
 Get the length of the input. More...
 
void length_set (double length_) const
 Set the length of the input. More...
 
::efl::eina::optional< ::efl::eo::concreteoutput_get () const
 Get the output that this input is attached to. More...
 
double remaining_get () const
 Get the remaining time of the input. More...
 
template<typename F >
::efl::eo::signal_connection callback_in_looped_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_in_looped_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_in_stopped_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_in_stopped_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_in_samplerate_changed_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_in_samplerate_changed_call (T *info)
 
address_of operator& ()
 
address_const_of operator& () const
 
- Public Member Functions inherited from efl::eo::concrete
 concrete (Eo *eo)
 Class constructor. More...
 
 concrete ()
 Default constructor. More...
 
 ~concrete ()
 Class destructor.
 
 concrete (concrete const &other)
 
 concrete (concrete &&other)
 
concreteoperator= (concrete const &other)
 Assignment operator.
 
concreteoperator= (concrete &&other)
 
Eo_eo_ptr () const
 Return a pointer to the EO Object stored in this instance. More...
 
Eo_release ()
 Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More...
 
void _reset (Eo *_ptr=nullptr)
 Reset the current pointer to reference a new Eo object.
 
int ref_get () const
 Get the reference count of this object. More...
 
void parent_set (concrete parent)
 Set the parent of this object. More...
 
eina::optional< concreteparent_get ()
 Get the parent of this object. More...
 
Eo_Dbg_Info dbg_info_get ()
 Get debug information of this object. More...
 
 operator bool () const
 
- Public Member Functions inherited from eo_cxx::ecore_audio
void vio_set (Ecore_Audio_Vio *vio_, void *data_, eo_key_data_free_func free_func_) const
 Set the virtual IO functions. More...
 
::efl::eina::optional< std::string > name_get () const
 Get the name of the object. More...
 
void name_set (::efl::eina::optional< std::string > name_) const
 Set the name of the object. More...
 
bool paused_get () const
 Get the pause state of the object. More...
 
void paused_set (bool paused_) const
 Set the pause state of the object. More...
 
double volume_get () const
 Get the volume of the object. More...
 
void volume_set (double volume_) const
 Set the volume of the object. More...
 
::efl::eina::optional< std::string > source_get () const
 Get the source of the object. More...
 
bool source_set (::efl::eina::optional< std::string > source_) const
 Set the source of the object. More...
 
Ecore_Audio_Format format_get () const
 Get the format of the object. More...
 
bool format_set (Ecore_Audio_Format format_) const
 Set the format of the object. More...
 
 operator::ecore_audio () const
 
 operator::ecore_audio & ()
 
 operator::ecore_audio const & () const
 
- Public Member Functions inherited from eo_cxx::eo::base
void event_callback_forwarder_del (const Eo_Event_Description *desc_,::efl::eina::optional< ::efl::eo::concrete > new_obj_) const
 Remove an event callback forwarder for an event and an object. More...
 
void event_thaw () const
 thaw events of object. More...
 
void event_freeze () const
 freeze events of object. More...
 
void event_callback_array_del (const Eo_Callback_Array_Item *array_, const void *user_data_) const
 Del a callback array with a specific data associated to it for an event. More...
 
void wref_del (Eo **wref_) const
 Delete the weak reference passed. More...
 
void destructor () const
 Call the object's destructor. More...
 
::efl::eina::optional< ::efl::eo::concretefinalize () const
 Called at the end of #eo_add. More...
 
void key_data_set (::efl::eina::optional< std::string > key_, const void *data_, eo_key_data_free_func free_func_) const
 Set generic data to object. More...
 
void * key_data_get (::efl::eina::optional< std::string > key_) const
 Get generic data from object. More...
 
void event_callback_del (const Eo_Event_Description *desc_, Eo_Event_Cb func_, const void *user_data_) const
 Del a callback with a specific data associated to it for an event. More...
 
void key_data_del (::efl::eina::optional< std::string > key_) const
 Del generic data from object. More...
 
void event_callback_array_priority_add (const Eo_Callback_Array_Item *array_, Eo_Callback_Priority priority_, const void *data_) const
 Add a callback array for an event with a specific priority. More...
 
void wref_add (::efl::eo::concrete *wref_) const
 Add a new weak reference to obj. More...
 
void dbg_info_get (Eo_Dbg_Info *root_node_) const
 Get dbg information from the object. More...
 
void event_callback_forwarder_add (const Eo_Event_Description *desc_,::efl::eina::optional< ::efl::eo::concrete > new_obj_) const
 Add an event callback forwarder for an event and an object. More...
 
bool event_callback_call (const Eo_Event_Description *desc_, void *event_info_) const
 Call the callbacks for an event of an object. More...
 
void event_callback_priority_add (const Eo_Event_Description *desc_, Eo_Callback_Priority priority_, Eo_Event_Cb cb_, const void *data_) const
 Add a callback for an event with a specific priority. More...
 
Eina_Iteratorchildren_iterator_new () const
 Get an iterator on all childrens.
 
bool composite_attach (::efl::eina::optional< ::efl::eo::concrete > comp_obj_) const
 
bool composite_detach (::efl::eina::optional< ::efl::eo::concrete > comp_obj_) const
 
bool composite_part_is () const
 
::efl::eina::optional< ::efl::eo::concreteparent_get () const
 Get the parent of an object. More...
 
void parent_set (::efl::eina::optional< ::efl::eo::concrete > parent_) const
 Set the parent of an object Parents keep references to their children so in order to delete objects that have parents you need to set parent to NULL or use eo_del() that does that for you (and also unrefs the object). More...
 
int event_global_freeze_count_get () const
 return freeze events of object. More...
 
int event_freeze_count_get () const
 return freeze events of object. More...
 
bool finalized_get () const
 
template<typename F >
::efl::eo::signal_connection callback_callback_add_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_callback_add_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_callback_del_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_callback_del_call (T *info)
 
template<typename F >
::efl::eo::signal_connection callback_del_add (F &&callback_,::efl::eo::callback_priority priority_=::efl::eo::callback_priorities::default_)
 
template<typename T >
void callback_del_call (T *info)
 
 operator::eo::base () const
 
 operator::eo::base & ()
 
 operator::eo::base const & () const
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::ecore_audio
static Eo_Class const * _eo_class ()
 
- Static Public Member Functions inherited from eo_cxx::eo::base
static void event_global_freeze ()
 freeze events of object. More...
 
static void event_global_thaw ()
 thaw events of object. More...
 
static Eo_Class const * _eo_class ()
 

Additional Inherited Members

- Protected Attributes inherited from efl::eo::concrete
Eo_eo_raw
 The opaque EO Object.
 

Constructor & Destructor Documentation

ecore_audio_in::ecore_audio_in ( Eo eo)
inlineexplicit

Eo Constructor.

Constructs the object from an Eo* pointer stealing its ownership.

Parameters
eoThe Eo object pointer.
ecore_audio_in::ecore_audio_in ( std::nullptr_t  )
inlineexplicit

nullptr_t Constructor.

Constructs an empty (null) object.

Member Function Documentation

ssize_t ecore_audio_in::read ( void *  buf_,
size_t  len_ 
) const
inline

Read from the input.

Since
1.8
Parameters
buf
len
ssize_t ecore_audio_in::read_internal ( void *  buf_,
size_t  len_ 
) const
inline

Internal read function.

Since
1.8
Parameters
buf
len
double ecore_audio_in::seek ( double  offs_,
int  mode_ 
) const
inline

Seek within the input.

Since
1.8
Parameters
offs
mode
double ecore_audio_in::speed_get ( ) const
inline

Get the playback speed of the input.

Since
1.8
Parameters
speed
void ecore_audio_in::speed_set ( double  speed_) const
inline

Set the playback speed of the input.

Since
1.8
Parameters
speed
int ecore_audio_in::samplerate_get ( ) const
inline

Get the he sample-rate of the input.

Since
1.8
Parameters
samplerate
void ecore_audio_in::samplerate_set ( int  samplerate_) const
inline

Set the sample-rate of the input.

Since
1.8
Parameters
samplerate
int ecore_audio_in::channels_get ( ) const
inline

Get the amount of channels the input has.

Since
1.8
Parameters
channels
void ecore_audio_in::channels_set ( int  channels_) const
inline

Set the amount of channels the input has.

Since
1.8
Parameters
channels
bool ecore_audio_in::preloaded_get ( ) const
inline

Get the the preloaded state of the input.

Since
1.8
Parameters
preloaded
void ecore_audio_in::preloaded_set ( bool  preloaded_) const
inline

Set the preloaded state of the input.

Since
1.8
Parameters
preloaded
bool ecore_audio_in::looped_get ( ) const
inline

Get the looped state of the input.

Since
1.8
Parameters
looped
void ecore_audio_in::looped_set ( bool  looped_) const
inline

Set the looped state of the input.

If the input is looped and reaches the end it will start from the beginning again. At the same time the event ECORE_AUDIO_EV_IN_LOOPED will be emitted

Since
1.8
Parameters
looped
double ecore_audio_in::length_get ( ) const
inline

Get the length of the input.

Since
1.8
Parameters
length
void ecore_audio_in::length_set ( double  length_) const
inline

Set the length of the input.

This function is only implemented by some classes (i.e. ECORE_AUDIO_OBJ_IN_TONE_CLASS)

Since
1.8
Parameters
length
efl::eina::optional<::efl::eo::concrete > ecore_audio_in::output_get ( ) const
inline

Get the output that this input is attached to.

Since
1.8
Parameters
output
double ecore_audio_in::remaining_get ( ) const
inline

Get the remaining time of the input.

Since
1.8
Parameters
remaining