[asterisk-commits] qwell: branch qwell/ari_channel_mute r394105 - /team/qwell/ari_channel_mute/i...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 11 11:25:20 CDT 2013


Author: qwell
Date: Thu Jul 11 11:25:18 2013
New Revision: 394105

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394105
Log:
Move back away from enum, since it makes bitmasks screwy.

Modified:
    team/qwell/ari_channel_mute/include/asterisk/channel.h

Modified: team/qwell/ari_channel_mute/include/asterisk/channel.h
URL: http://svnview.digium.com/svn/asterisk/team/qwell/ari_channel_mute/include/asterisk/channel.h?view=diff&rev=394105&r1=394104&r2=394105
==============================================================================
--- team/qwell/ari_channel_mute/include/asterisk/channel.h (original)
+++ team/qwell/ari_channel_mute/include/asterisk/channel.h Thu Jul 11 11:25:18 2013
@@ -4379,10 +4379,8 @@
  */
 void ast_channel_name_to_dial_string(char *channel_name);
 
-enum ast_mute_direction {
-	AST_MUTE_DIRECTION_READ = (1 << 0),
-	AST_MUTE_DIRECTION_WRITE = (1 << 1),
-};
+#define AST_MUTE_DIRECTION_READ (1 << 0)
+#define AST_MUTE_DIRECTION_WRITE (1 << 1)
 
 /*!
  * \brief Suppress passing of a frame type on a channel




More information about the asterisk-commits mailing list