[Freeswitch-svn] [commit] r5253 - freeswitch/trunk/src/mod/endpoints/mod_alsa

Freeswitch SVN anthm at freeswitch.org
Mon Jun 4 09:43:10 EDT 2007


Author: anthm
Date: Mon Jun  4 09:43:10 2007
New Revision: 5253

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c

Log:
fix mod_alsa compile

Modified: freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c	Mon Jun  4 09:43:10 2007
@@ -152,7 +152,8 @@
 static switch_status_t channel_kill_channel(switch_core_session_t *session, int sig);
 static switch_status_t engage_device(unsigned int samplerate, int codec_ms);
 static switch_status_t load_config(void);
-static switch_status_t pa_cmd(char *dest, switch_core_session_t *session, switch_stream_handle_t *stream);
+SWITCH_STANDARD_API(pa_cmd);
+
 
 
 /* 
@@ -1529,7 +1530,7 @@
 	char *mycmd = NULL;
 	switch_status_t status = SWITCH_STATUS_SUCCESS;
 	pa_command_t func = NULL;
-	int lead = 1, devval = 0;
+	int lead = 1;
 	char *wcmd = NULL, *action = NULL;
 	char cmd_buf[1024] = "";
 	char *http = NULL;



More information about the Freeswitch-svn mailing list