Changeset 3558:1ba539c79abb in roaraudio for roard/midi.c
- Timestamp:
- 02/20/10 04:19:03 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/midi.c
r3547 r3558 46 46 int midi_init (void) { 47 47 struct roar_stream_server * ss; 48 char cmap[16]; 48 49 int i; 49 50 … … 71 72 } 72 73 73 roardsp_chanlist_init(ss->chanmap.in, 16, ROARDSP_CHANLIST_MAP_MIDI); 74 memcpy(ss->chanmap.out, ss->chanmap.in, sizeof(ss->chanmap.out)); 75 streams_set_map(g_midi_mixer.stream, NULL, 0); 74 roardsp_chanlist_init(cmap, 16, ROARDSP_CHANLIST_MAP_MIDI); 75 streams_set_map(g_midi_mixer.stream, cmap, 16); 76 76 77 77 ss->state = ROAR_STREAMSTATE_OLD;
Note: See TracChangeset
for help on using the changeset viewer.