Changeset 1155:556400bd73cd in roaraudio for roard
- Timestamp:
- 01/22/09 15:19:25 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/roard.h
r920 r1155 59 59 60 60 int alive; 61 int g_no_listen; 61 62 62 63 uint32_t g_pos; // current possition in output stream -
roard/roard.c
r1145 r1155 265 265 g_autostandby = 0; 266 266 alive = 1; 267 g_no_listen = 0; 267 268 268 269 sa.bits = ROAR_BITS_DEFAULT; … … 456 457 *server = 0; 457 458 g_terminate = 1; 459 g_no_listen = 1; 458 460 } else if ( strcmp(k, "--client-fh") == 0 ) { 459 461 if ( clients_set_fh(clients_new(), atoi(argv[++i])) == -1 ) { -
roard/streams.c
r1152 r1155 52 52 struct roar_stream_server * s = NULL; 53 53 54 if ( g_terminate ) // don't accept new streams in case of termination state54 if ( g_terminate && !g_no_listen ) // don't accept new streams in case of termination state 55 55 return -1; 56 56
Note: See TracChangeset
for help on using the changeset viewer.