Changeset 2611:e6644a50a821 in roaraudio
- Timestamp:
- 09/11/09 15:38:14 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/streams.h
r2606 r2611 79 79 int ready; 80 80 struct roar_buffer * outputbuffer; 81 int state; 81 82 } * g_streams[ROAR_STREAMS_MAX]; 82 83 -
roard/streams.c
r2609 r2611 85 85 s->name = NULL; 86 86 87 s->state = ROAR_STREAMSTATE_INITING; 88 87 89 s->client = -1; 88 90 s->socktype = ROAR_SOCKET_TYPE_UNKNOWN; … … 142 144 ROAR_DBG("streams_delete(id=%i) = ?", id); 143 145 ROAR_DBG("streams_delete(id=%i): g_streams[id]->id=%i", id, ROAR_STREAM(s)->id); 146 147 // in case we are allready closing it... 148 if ( s->state == ROAR_STREAMSTATE_CLOSING ) 149 return 0; 150 151 s->state = ROAR_STREAMSTATE_CLOSING; 144 152 145 153 if ( streams_get_flag(id, ROAR_FLAG_RECSOURCE) == 1 )
Note: See TracChangeset
for help on using the changeset viewer.