]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make these messages consistent
authorBrian West <brian@freeswitch.org>
Mon, 28 Jan 2008 04:20:22 +0000 (04:20 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 28 Jan 2008 04:20:22 +0000 (04:20 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7401 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_local_stream/mod_local_stream.c
src/mod/formats/mod_sndfile/mod_sndfile.c

index a5c1eda6936159fc3869f266e64afc44e9f22edf..9a565e6a7275412d0a35169c00c356e5b05ff419 100644 (file)
@@ -183,7 +183,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
                                return NULL;
                        }
 
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Playing %s rate: %dhz\n", fname, source->rate);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Playing [%s] rate: %dhz\n", fname, source->rate);
 
                        while (RUNNING) {
                                switch_core_timer_next(&timer);
index 370f4b17d5f7fd7336a5119a1c7af7b4394b20e5..6b1b7a1e7c879252cf029322fc5bc64013e611a0 100644 (file)
@@ -167,7 +167,7 @@ static switch_status_t sndfile_file_open(switch_file_handle_t *handle, const cha
                }
        }
 
-       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Opening File [%s] %dhz\n", path, context->sfinfo.samplerate);
+       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Opening File [%s] rate %dhz\n", path, context->sfinfo.samplerate);
        handle->samples = (unsigned int) context->sfinfo.frames;
        handle->samplerate = context->sfinfo.samplerate;
        handle->channels = (uint8_t) context->sfinfo.channels;