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

Data Structures

struct  address_const_of
 
struct  address_of
 

Public Member Functions

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)
 
 operator::ecore_audio_in () const
 
 operator::ecore_audio_in & ()
 
 operator::ecore_audio_in const & () const
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 

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