Programmatically setting input volume
Programmatically setting input volume
- Subject: Programmatically setting input volume
- From: Dan Birns <email@hidden>
- Date: Sat, 1 Nov 2008 16:15:32 -0700
I need to be able to set the input volume programmatically.
As an example, I own an Apogee Duet 2-channel preamp input/output firewire device.
This product comes with a logic-pro plugin that appears in Options->Audio->Open Apogee Control Panel. In this panel, you can set the device volume. I need to set the Duet volume from my own plug-in (which is likely to be an AudioUnits plugin, although I'm still getting oriented, and I'm not entirely sure).
At the CoreAudio maillist, it was suggested that the device must support AudioObjectHasProperty() for the 'volm' property (kAudioDevicePropertyVolumeScalar). The only device I can find that supports this is Apple's built-in mic and line-input, which is of course worthless for most Logic uses.
Perhaps there's a standard way to do this. Another possibility is to write a Logic-pro plugin that can manipulate the Apogee Control Panel. I realize that I could probably do this with AppleScript, but it would be too slow. I need something with reasonable latency.
Any insight would be greatly appreciated.
--Daniel |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden