Changeset 4753:fae4e9e389bc in roaraudio for roard/streams.c
- Timestamp:
- 02/05/11 17:30:53 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r4708 r4753 152 152 s->flags = ROAR_FLAG_NONE; 153 153 154 #ifndef ROAR_WITHOUT_DCOMP_MIXER 154 155 s->mixerstream = NULL; 156 #endif 155 157 156 158 //roardsp_fchain_init(&(s->fc)); … … 260 262 } 261 263 264 #ifndef ROAR_WITHOUT_DCOMP_MIXER 262 265 if ( s->mixerstream != NULL ) { 263 266 hwmixer_close(id); 264 267 } 268 #endif 265 269 266 270 //roardsp_fchain_uninit(&(s->fc)); … … 1175 1179 if ( ss->driver_id != -1 ) { 1176 1180 return driver_set_volume(id, &(ss->mixer)); 1181 #ifndef ROAR_WITHOUT_DCOMP_MIXER 1177 1182 } else if ( ss->mixerstream != NULL ) { 1178 1183 return hwmixer_set_volume(id, ss, ss->mixerstream, &(ss->mixer)); 1184 #endif 1179 1185 } else { 1180 1186 return 0; … … 1380 1386 } 1381 1387 1388 #ifndef ROAR_WITHOUT_DCOMP_MIXER 1382 1389 struct hwmixer_stream * streams_get_mixerstream(int id) { 1383 1390 _CHECK_SID_RET(id, NULL); … … 1407 1414 return hwmixer_get_volume(id, ss, ss->mixerstream, &(ss->mixer)); 1408 1415 } 1416 #endif 1409 1417 1410 1418 int streams_ctl (int id, int_least32_t cmd, void * data) {
Note: See TracChangeset
for help on using the changeset viewer.