jeyzu pushed a commit to branch master.

commit 146e3d3643c4ecf47c7c2d916da2a6a55308ae03
Author: Jérémy Zurcher <[email protected]>
Date:   Mon Feb 25 14:18:29 2013 +0100

    mixer: add missing _e_mixer_dummy_set calls to sys_dummy
---
 src/modules/mixer/sys_dummy.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/mixer/sys_dummy.c b/src/modules/mixer/sys_dummy.c
index eb3788b..82036ac 100644
--- a/src/modules/mixer/sys_dummy.c
+++ b/src/modules/mixer/sys_dummy.c
@@ -12,6 +12,7 @@ E_Mixer_System *
 e_mixer_system_new(const char *name)
 {
    _e_mixer_dummy_set();
+
    if (!name) return NULL;
 
    if (name == _name || strcmp(name, _name) == 0)
@@ -61,6 +62,8 @@ e_mixer_system_get_card_name(const char *card)
 Eina_List *
 e_mixer_system_get_channels(E_Mixer_System *self __UNUSED__)
 {
+   _e_mixer_dummy_set();
+
    E_Mixer_Channel_Info *ch_info;
 
    ch_info = malloc(sizeof(*ch_info));
@@ -106,6 +109,8 @@ e_mixer_system_channel_del(E_Mixer_Channel *channel 
__UNUSED__)
 const char *
 e_mixer_system_get_channel_name(E_Mixer_System *self __UNUSED__, 
E_Mixer_Channel *channel)
 {
+   _e_mixer_dummy_set();
+
    if (channel == (E_Mixer_Channel *)-2)
      return eina_stringshare_ref(_name);
    else

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to