Author: titmuss
Date: Thu Feb  7 06:31:53 2008
New Revision: 1846

URL: http://svn.slimdevices.com?rev=1846&root=Jive&view=rev
Log:
Bug: 6580
Description:
The jive_sound_enabled function enables/disables a single sound effect, it 
should not open/close the 
audio device.


Modified:
    branches/7.0/jive/src/pkg/jive/src/ui/jive_audio.c

Modified: branches/7.0/jive/src/pkg/jive/src/ui/jive_audio.c
URL: 
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/src/ui/jive_audio.c?rev=1846&root=Jive&r1=1845&r2=1846&view=diff
==============================================================================
--- branches/7.0/jive/src/pkg/jive/src/ui/jive_audio.c (original)
+++ branches/7.0/jive/src/pkg/jive/src/ui/jive_audio.c Thu Feb  7 06:31:53 2008
@@ -249,13 +249,6 @@
        snd = *(struct jive_sample **)lua_touserdata(L, 1);
        snd->enabled = lua_toboolean(L, 2);
 
-       if (snd->enabled) {
-               open_audio();
-       }
-       else {
-               close_audio();
-       }
-
        return 0;
 }
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to