]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
httapi did not pass number of channels up to top level filehandle so stereo files...
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 19 Jan 2013 00:06:50 +0000 (18:06 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 19 Jan 2013 00:06:50 +0000 (18:06 -0600)
src/mod/applications/mod_httapi/mod_httapi.c

index e6dcb5d2fb690f14f8b6ae101e29c4b1c7c737e9..34073260de29275a0e9735d5c2a1315136c48bae 100644 (file)
@@ -2732,7 +2732,6 @@ static switch_status_t http_file_file_open(switch_file_handle_t *handle, const c
                        unlink(context->cache_file);
                        unlink(context->meta_file);
                        unlink(context->lock_file);
-                       
                        return status;
                }
        }
@@ -2744,6 +2743,7 @@ static switch_status_t http_file_file_open(switch_file_handle_t *handle, const c
        handle->seekable = context->fh.seekable;
        handle->speed = context->fh.speed;
        handle->interval = context->fh.interval;
+       handle->channels = context->fh.channels;
 
        if (switch_test_flag((&context->fh), SWITCH_FILE_NATIVE)) {
                switch_set_flag(handle, SWITCH_FILE_NATIVE);