g’day mateys,
well. she’s performing them format changes and looks like it’s time to make
sure my IOAudioFormat+IOAudioFormatExtension parameters are correct.
the nice thing about these cards is i don’t have to do any pointer arithmetic.
as devin roth of existential audio intimated earlier, when devices are on
separate clocks we have to calculate the position of each engine’s output
separately.
-this is without even considering how different channels, etc, can
affect the arithmetic of each engine.
in the case of these CMedia cards, they return the position of the buffer for
us!
now, for the multichannel output stream, this position would (i expect) differ
based on the number of channels we are asking it to output.
and this is where my IOAudioSelectorControl question comes in. i haven’t seen
an example of this control.
i am aware that levelcontrol is for volume/things on a scale, and toggle is for
things that we want on or off.
but this IOAudioSelectorControl would be really handy to select channels within
the native interface. has anyone tried it?
table 3-2 in the documentation
(https://developer.apple.com/library/archive/documentation/DeviceDrivers/Conceptual/WritingAudioDrivers/ImplementDriver/ImplementDriver.html)
suggests this is exactly what IOAudioSelectorControl does ("For controls that
select a discrete attribute, such as input gain.”)\
i just want 4 separate choices for channels (2, 4, 6, 8) and i’m hoping it’d
appear under the engine in system preferences’ output.
anyone have some guidance/tips/advice?
ty
Thanks,
Gagan
p.s. this is so exciting!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com
This email sent to [email protected]