Changeset 4240:a8d45cd31d5d in roaraudio for roard/clients.c
- Timestamp:
- 08/25/10 13:54:41 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/clients.c
r4229 r4240 641 641 int i; 642 642 643 ROAR_DBG("client_stream_set_fh(client=%i, stream=%i, fh=%i) = ?", client, stream, fh); 644 643 645 _CHECK_CID(client); 644 646 645 647 for (i = 0; i < ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT; i++) { 646 648 if ( g_clients[client]->streams[i] == stream ) { 649 ROAR_DBG("client_stream_set_fh(client=%i, stream=%i, fh=%i): stream found, index %i", client, stream, fh, i); 647 650 return streams_set_fh(stream, fh); 648 651 } 649 652 } 650 653 654 ROAR_WARN("client_stream_set_fh(client=%i, stream=%i, fh=%i) = -1 // client does not own stream", client, stream, fh); 651 655 return -1; 652 656 }
Note: See TracChangeset
for help on using the changeset viewer.