Using MidiMan Delta 66 drivers.
Using MidiMan Delta 66 drivers.
- Subject: Using MidiMan Delta 66 drivers.
- From: Markus Handell <email@hidden>
- Date: Wed, 12 Dec 2001 15:02:51 +0100
I'm having some trouble with the Delta 66 on my development system, and
I am not sure where the problem lies, in our support for CoreAudio (we
use the HAL portion), inside CoreAudio.framework, or in the MidiMan
driver.
The thing that happens is that when I change the sample rate, the driver
seems to be in a strange state. I think I need to explain what happens.
When we shift the sample rate in our framework, we perform the change
with the stream stopped. This is because we use non-interleaved buffers
aside from the IOProc-supplied buffers and we don't want to allocate any
memory in the IOProc. So we do every change with the sound stream
stopped. The thing is, with the Midiman driver chosen, we cannot always
start the driver again. The calls fail.
So I fooled around with delays before and after settings changes, and
the problem seems to occur less often.
Does anyone know what's going on? I don't like putting sleeps in our
software :-) !!!
Thanks,
Markus Handell