Changeset 2970:624ab1461d6b in roaraudio
- Timestamp:
- 10/21/09 21:07:57 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/roard.h
r2945 r2970 25 25 #ifndef _ROARD_H_ 26 26 #define _ROARD_H_ 27 28 // configure ROAR_INFO() 29 int g_verbose; 30 #define ROAR_DBG_INFOVAR g_verbose 27 31 28 32 // need to include this first as we need the config -
roard/roard.c
r2968 r2970 45 45 printf( 46 46 " --daemon - Bring the server into background after init\n" 47 " --verbose - Be more verbose, can be used multiple times\n" 47 48 " --terminate - Terminate after last client quited\n" 48 49 " --start - No op parameter (starting roard is default operation)\n" … … 900 901 #endif 901 902 903 g_verbose = ROAR_DBG_INFO_NONE; 904 902 905 sa.bits = ROAR_BITS_DEFAULT; 903 906 sa.channels = ROAR_CHANNELS_DEFAULT; … … 1041 1044 ROAR_ERR("--daemon not supported"); 1042 1045 #endif 1046 } else if ( strcmp(k, "--verbose") == 0 ) { 1047 g_verbose++; 1043 1048 } else if ( strcmp(k, "--terminate") == 0 ) { 1044 1049 g_terminate = 1;
Note: See TracChangeset
for help on using the changeset viewer.