[svn-commits] oej: branch oej/mutestream-trunk r215018 - /team/oej/mutestream-trunk/res/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 31 12:45:54 CDT 2009


Author: oej
Date: Mon Aug 31 12:45:51 2009
New Revision: 215018

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215018
Log:
Remove the stupid whitespace

Modified:
    team/oej/mutestream-trunk/res/res_mutestream.c

Modified: team/oej/mutestream-trunk/res/res_mutestream.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/oej/mutestream-trunk/res/res_mutestream.c?view=diff&rev=215018&r1=215017&r2=215018
==============================================================================
--- team/oej/mutestream-trunk/res/res_mutestream.c (original)
+++ team/oej/mutestream-trunk/res/res_mutestream.c Mon Aug 31 12:45:51 2009
@@ -87,7 +87,7 @@
 	for (next = AST_LIST_NEXT(frame, frame_list);
 		frame;
 		frame = next, next = frame ? AST_LIST_NEXT(frame, frame_list) : NULL) {
- 		memset(frame->data.ptr, 0, frame->datalen);
+		memset(frame->data.ptr, 0, frame->datalen);
         }
 }
 
@@ -119,13 +119,13 @@
 	if (frame->frametype == AST_FRAME_VOICE) {
 		if (option_debug > 3)
 			ast_log(LOG_DEBUG, "Audio frame - direction %s  mute READ %s WRITE %s\n", direction == AST_AUDIOHOOK_DIRECTION_READ ? "read" : "write", mute->mute_read ? "on" : "off", mute->mute_write ? "on" : "off");
-		
+
 		/* Based on direction of frame grab the gain, and confirm it is applicable */
 		if ((direction == AST_AUDIOHOOK_DIRECTION_READ && mute->mute_read) || (direction == AST_AUDIOHOOK_DIRECTION_WRITE && mute->mute_write)) {
 			/* Ok, we just want to reset all audio in this frame. Keep NOTHING, thanks. */
- 			ast_frame_clear(frame);
-		}
-	} 
+			ast_frame_clear(frame);
+		}
+	}
 	ast_channel_unlock(chan);
 
 	return 0;
@@ -163,7 +163,7 @@
 		if(ast_audiohook_attach(chan, &mute->audiohook)) {
 			ast_log(LOG_ERROR, "Failed to attach audiohook for muting channel %s\n", chan->name);
 			return -1;
-		} 
+		}
 		if (option_debug) {
 			ast_log(LOG_DEBUG, "*** Initialized audiohook on channel %s\n", chan->name);
 		}
@@ -182,7 +182,7 @@
 			return 0;
 		}
 		is_new = 1;
-	} 
+	}
 
 	mute = datastore->data;
 
@@ -258,7 +258,7 @@
 			return 0;
 		}
 		is_new = 1;
-	} 
+	}
 	mute = datastore->data;
 	turnon = ast_true(state);
 
@@ -269,7 +269,7 @@
 	} else if (!strcasecmp(direction, "all")) {
 		mute->mute_read = mute->mute_write = turnon;
 	}
-	
+
 	if (is_new) {
 		mute_add_audiohook(c, mute, datastore);
 	}




More information about the svn-commits mailing list