Changeset 4361:135e78128e19 in roaraudio for roard/streams.c
- Timestamp:
- 09/14/10 17:02:58 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r4346 r4361 150 150 s->flags = ROAR_FLAG_NONE; 151 151 152 s->mixerstream = NULL; 153 152 154 //roardsp_fchain_init(&(s->fc)); 153 155 … … 251 253 s->driver_id = -1; 252 254 no_vio_close = 1; 255 } 256 257 if ( s->mixerstream != NULL ) { 258 hwmixer_close(id); 253 259 } 254 260 … … 1198 1204 } 1199 1205 1206 struct hwmixer_stream * streams_get_mixerstream(int id) { 1207 _CHECK_SID_RET(id, NULL); 1208 1209 return g_streams[id]->mixerstream; 1210 } 1211 1212 int streams_set_mixerstream(int id, struct hwmixer_stream * mstream) { 1213 _CHECK_SID(id); 1214 1215 g_streams[id]->mixerstream = mstream; 1216 1217 return 0; 1218 } 1219 1200 1220 1201 1221 int streams_ctl (int id, int_least32_t cmd, void * data) {
Note: See TracChangeset
for help on using the changeset viewer.