Changeset 486:5f7954982f5a in roaraudio
- Timestamp:
- 08/13/08 16:57:00 (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter.c
r432 r486 61 61 62 62 *codecfilter_id = -1; 63 64 ROAR_DBG("codecfilter_open(*): codecfilter='%s', info->id=%i", codecfilter, ROAR_STREAM(info)->id); 63 65 64 66 for (i = 0; g_codecfilter[i].name != NULL; i++) { -
roard/codecfilter_vorbis.c
r382 r486 19 19 self->stream = info; 20 20 // self->outlen = ROAR_OUTPUT_BUFFER_SAMPLES * s->info.channels * s->info.bits / 8; // optimal size 21 22 ROAR_DBG("cf_vorbis_open(*): info->id=%i", ROAR_STREAM(info)->id); 21 23 22 24 if ( (self->in = fdopen(((struct roar_stream*)info)->fh, "r")) == NULL ) { -
roard/meta.c
r113 r486 119 119 int stream_meta_clear (int id) { 120 120 int i; 121 struct roar_stream_server * s = g_streams[id]; 121 struct roar_stream_server * s = NULL; 122 123 if ( id < 0 || id > ROAR_STREAMS_MAX ) { 124 ROAR_ERR("stream_meta_clear(id=%i): Can not clear meta data on stream: invalid stream ID", id); 125 return -1; 126 } 127 128 s = g_streams[id]; 122 129 123 130 if ( s == NULL ) -
roard/req.c
r465 r486 1 //req.c: 1 2 2 3 3 #include "roard.h" … … 87 87 } 88 88 89 ROAR_STREAM(s)->id = stream; // roar_stream_m2s() resets this 90 89 91 mes->cmd = ROAR_CMD_OK; 90 92 mes->stream = stream;
Note: See TracChangeset
for help on using the changeset viewer.