Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : mixer
Dir : e_modules/mixer
Modified Files:
alsa_mixer.c
Log Message:
Couple more formatting fixes I missed.
===================================================================
RCS file: /cvs/e/e_modules/mixer/alsa_mixer.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- alsa_mixer.c 20 Nov 2007 17:22:28 -0000 1.32
+++ alsa_mixer.c 20 Nov 2007 21:03:57 -0000 1.33
@@ -545,15 +545,15 @@
snd_mixer_close(handle);
if (mute)
{
- ecore_hash_set(vols, (int*)(card_id<<16) + channel_id,
(int*)alsa_get_volume(card_id,channel_id));
+ ecore_hash_set(vols, (int*)(card_id << 16) + channel_id,
(int*)alsa_get_volume(card_id, channel_id));
alsa_set_volume(card_id, channel_id, (0.0 * 100));
}
else
{
- if (vol = (unsigned int)(ecore_hash_get(vols,
(int*)(card_id<<16) + channel_id)))
+ if (vol = (unsigned int)(ecore_hash_get(vols,
(int*)(card_id << 16) + channel_id)))
{
alsa_set_volume(card_id, channel_id, vol);
- ecore_hash_remove(vols, (int*)(card_id<<16) +
channel_id);
+ ecore_hash_remove(vols, (int*)(card_id << 16) +
channel_id);
}
else
alsa_set_volume(card_id, channel_id, (0.5 * 100));
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs