Changeset 3215:13678c1774be in roaraudio for roard/light.c
- Timestamp:
- 01/24/10 06:03:06 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/light.c
r2959 r3215 29 29 int light_init (unsigned int channels) { 30 30 struct roar_stream_server * ss; 31 int i; 31 32 32 33 g_light_state.channels = 0; … … 54 55 ROAR_STREAM(ss)->info.bits = ROAR_LIGHT_BITS; 55 56 ROAR_STREAM(ss)->info.rate = ROAR_OUTPUT_CFREQ; 57 58 for (i = 0; i < ROAR_STREAMS_MAX; i++) { 59 if ( g_streams[i] != NULL ) { 60 if ( streams_get_subsys(i) == ROAR_SUBSYS_LIGHT ) { 61 streams_set_mixer_stream(i, g_light_mixer.stream); 62 } 63 } 64 } 56 65 57 66 return light_reset();
Note: See TracChangeset
for help on using the changeset viewer.