From 0659acc8c5810d565d6b0c39e8dbfa7862784ada Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 20 Apr 2006 11:13:32 +0000 Subject: Added stream.c example to demonstrate how to stream audio from both sound device or WAV file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@407 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/samples/util.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pjsip-apps/src/samples/util.h') diff --git a/pjsip-apps/src/samples/util.h b/pjsip-apps/src/samples/util.h index 2e2a32c8..02ff7024 100644 --- a/pjsip-apps/src/samples/util.h +++ b/pjsip-apps/src/samples/util.h @@ -36,14 +36,14 @@ static int app_perror( const char *sender, const char *title, * This utility function parses the command line and look for * common sound options. */ -static pj_status_t get_snd_options( const char *app_name, - int argc, - char *argv[], - int *dev_id, - int *clock_rate, - int *channel_count, - int *samples_per_frame, - int *bits_per_sample) +pj_status_t get_snd_options(const char *app_name, + int argc, + char *argv[], + int *dev_id, + int *clock_rate, + int *channel_count, + int *samples_per_frame, + int *bits_per_sample) { struct pj_getopt_option long_options[] = { { "dev", 1, 0, 'd' }, @@ -133,7 +133,7 @@ static pj_status_t get_snd_options( const char *app_name, /* Dump memory pool usage. */ -static void dump_pool_usage( const char *app_name, pj_caching_pool *cp ) +void dump_pool_usage( const char *app_name, pj_caching_pool *cp ) { #if !defined(PJ_HAS_POOL_ALT_API) || PJ_HAS_POOL_ALT_API==0 pj_pool_t *p; -- cgit v1.2.3