andrewrk / genesis

Genesis Digital Audio Workstation
http://genesisdaw.org
Other
193 stars 20 forks source link

use reference counting on get_audio_device and get_midi_device #11

Closed andrewrk closed 9 years ago

andrewrk commented 9 years ago
// TODO use reference counting instead so GenesisAudioDevice pointer never becomes invalid
struct GenesisAudioDevice *genesis_get_audio_device(struct GenesisContext *context, int index);

// TODO use reference counting instead so GenesisAudioDevice pointer never becomes invalid
struct GenesisMidiDevice *genesis_get_midi_device(struct GenesisContext *context, int index);