Changeset 78:997d49ae275a in roaraudio for roard/clients.c
- Timestamp:
- 07/12/08 18:06:43 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/clients.c
r71 r78 293 293 } 294 294 295 int client_stream_set_fh (int client, int stream, int fh) { 296 int i; 297 298 if ( g_clients[client] == NULL ) 299 return -1; 300 301 for (i = 0; i < ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT; i++) { 302 if ( g_clients[client]->streams[i] == stream ) { 303 streams_set_fh(stream, fh); 304 return 0; 305 } 306 } 307 308 return -1; 309 } 310 295 311 int client_stream_add (int client, int stream) { 296 312 int i;
Note: See TracChangeset
for help on using the changeset viewer.