Ignore:
Timestamp:
Apr 20, 2006 11:13:32 AM (18 years ago)
Author:
bennylp
Message:

Added stream.c example to demonstrate how to stream audio from both sound device or WAV file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/util.h

    r393 r407  
    3737 * common sound options. 
    3838 */ 
    39 static pj_status_t get_snd_options( const char *app_name, 
    40                                     int argc,  
    41                                     char *argv[], 
    42                                     int *dev_id, 
    43                                     int *clock_rate, 
    44                                     int *channel_count, 
    45                                     int *samples_per_frame, 
    46                                     int *bits_per_sample) 
     39pj_status_t get_snd_options(const char *app_name, 
     40                            int argc,  
     41                            char *argv[], 
     42                            int *dev_id, 
     43                            int *clock_rate, 
     44                            int *channel_count, 
     45                            int *samples_per_frame, 
     46                            int *bits_per_sample) 
    4747{ 
    4848    struct pj_getopt_option long_options[] = { 
     
    134134 
    135135/* Dump memory pool usage. */ 
    136 static void dump_pool_usage( const char *app_name, pj_caching_pool *cp ) 
     136void dump_pool_usage( const char *app_name, pj_caching_pool *cp ) 
    137137{ 
    138138#if !defined(PJ_HAS_POOL_ALT_API) || PJ_HAS_POOL_ALT_API==0 
Note: See TracChangeset for help on using the changeset viewer.