Typedefs | Enumerations | Functions
Edje Audio

Functions to manipulate audio abilities in edje. More...

Typedefs

typedef enum _Edje_Channel Edje_Channel
 Identifiers of Edje message types, which can be sent back and forth code and a given Edje object's theme file/group. More...
 

Enumerations

enum  _Edje_Channel {
  EDJE_CHANNEL_EFFECT = 0,
  EDJE_CHANNEL_BACKGROUND = 1,
  EDJE_CHANNEL_MUSIC = 2,
  EDJE_CHANNEL_FOREGROUND = 3,
  EDJE_CHANNEL_INTERFACE = 4,
  EDJE_CHANNEL_INPUT = 5,
  EDJE_CHANNEL_ALERT = 6,
  EDJE_CHANNEL_ALL = 7
}
 Identifiers of Edje message types, which can be sent back and forth code and a given Edje object's theme file/group. More...
 

Functions

void edje_audio_channel_mute_set (Edje_Channel channel, Eina_Bool mute)
 Sets the mute state of audio for the process as a whole. More...
 
Eina_Bool edje_audio_channel_mute_get (Edje_Channel channel)
 Gets the mute state of the given channel. More...
 
const char * edje_object_part_object_name_get (const Evas_Object *obj)
 Gets the part name of an edje part object. More...
 
Eina_Bool edje_3d_object_add (Evas_Object *obj, Eo **root_node, Eo *scene)
 Creates scene and root node which contains all 3D parts of edje object. More...
 

Detailed Description

Functions to manipulate audio abilities in edje.

Perspective is a graphical tool that makes objets represented in 2D look like they have a 3D appearance.

Edje allows us to use perspective on any edje object. This group of functions deal with the use of perspective, by creating and configuring a perspective object that must set to a edje object or a canvas, affecting all the objects inside that have no particular perspective set already.

Typedef Documentation

◆ Edje_Channel

Identifiers of Edje message types, which can be sent back and forth code and a given Edje object's theme file/group.

See also
edje_audio_channel_mute_set()
edje_audio_channel_mute_get()
Since
1.9

Enumeration Type Documentation

◆ _Edje_Channel

Identifiers of Edje message types, which can be sent back and forth code and a given Edje object's theme file/group.

See also
edje_audio_channel_mute_set()
edje_audio_channel_mute_get()
Since
1.9
Enumerator
EDJE_CHANNEL_EFFECT 

Standard audio effects.

EDJE_CHANNEL_BACKGROUND 

Background audio sounds.

EDJE_CHANNEL_MUSIC 

Music audio.

EDJE_CHANNEL_FOREGROUND 

Foreground audio sounds.

EDJE_CHANNEL_INTERFACE 

Sounds related to the interface.

EDJE_CHANNEL_INPUT 

Sounds related to regular input.

EDJE_CHANNEL_ALERT 

Sounds for major alerts.

EDJE_CHANNEL_ALL 

All audio channels (convenience)

Function Documentation

◆ edje_audio_channel_mute_set()

void edje_audio_channel_mute_set ( Edje_Channel  channel,
Eina_Bool  mute 
)

Sets the mute state of audio for the process as a whole.

Parameters
channelThe channel to set the mute state of
muteThe mute state

This sets the mute (no output) state of audio for the given channel.

See also
edje_audio_channel_mute_get()
Since
1.9

Referenced by elm_config_audio_mute_set().

◆ edje_audio_channel_mute_get()

Eina_Bool edje_audio_channel_mute_get ( Edje_Channel  channel)

Gets the mute state of the given channel.

Parameters
channelThe channel to get the mute state of
Returns
The mute state of the channel
See also
edje_audio_channel_mute_set()
Since
1.9

References EINA_FALSE.

◆ edje_object_part_object_name_get()

const char* edje_object_part_object_name_get ( const Evas_Object obj)

Gets the part name of an edje part object.

Parameters
objAn edje part object
Returns
The name of the part, if the object is an edje part, or NULL
Note
If this function returns NULL, obj was not an Edje part object
See also
edje_object_part_object_get()
Since
1.10

References evas_object_data_get().

◆ edje_3d_object_add()

Eina_Bool edje_3d_object_add ( Evas_Object obj,
Eo **  root_node,
Eo scene 
)

Creates scene and root node which contains all 3D parts of edje object.

Parameters
objAn edje part object
rootnode to collect all 3D parts
scene
Returns
scene and root node which contains all 3D parts of edje object
Note
If this function returns EINA_FALSE, the scene or the root node wasn't made
Since
1.18

References efl_add, EINA_FALSE, and ERR.