Changeset 2944:82dd35b2fa40 in roaraudio
- Timestamp:
- 10/16/09 23:11:36 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/light.h
r2495 r2944 38 38 } g_light_state; 39 39 40 struct { 41 int stream; 42 } g_light_mixer; 43 40 44 int light_init (unsigned int channels); 41 45 int light_free (void); -
roard/light.c
r2509 r2944 44 44 45 45 g_light_state.channels = channels; 46 47 if ( (g_light_mixer.stream = add_mixer(ROAR_SUBSYS_LIGHT, _MIXER_NAME("Light Control"), NULL)) == -1 ) { 48 free(g_light_state.state); 49 return -1; 50 } 46 51 47 52 return light_reset();
Note: See TracChangeset
for help on using the changeset viewer.