]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix mod_alsa compile
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 4 Jun 2007 13:43:10 +0000 (13:43 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 4 Jun 2007 13:43:10 +0000 (13:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5253 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_alsa/mod_alsa.c

index ade5ff2209e5b8a8b73ea0585289fa34c1d9840f..47ecbc61b293f63fe76c0aed19ea1c94d14dbe6e 100644 (file)
@@ -152,7 +152,8 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
 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 @@ SWITCH_STANDARD_API(pa_cmd)
        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;