Custom sub control type
Custom sub control type
- Subject: Custom sub control type
- From: Fabian Renn <email@hidden>
- Date: Wed, 27 Jul 2005 16:50:51 +0200
Hello list members,
i'm writing an audio driver for a usb high speed device ( See mail
'SPDIF audio in DVD Player' Vol 2 Issue 220 ). My device has an led
level meter. The user can set the speed of the this led meter either
to normal or to fast. I'd like to implement this function as a custom
toggle audio control. I've created a custom sub-type 'metr'. I'd like
to control this control from user space with core audio. Yet if i get
the class of the audio object of my control it returns 'togl' instead
of 'metr'. But for the mute control it returns 'mute'. Because i have
more than one custom toggle control I'd somehow like to distinguish
between them over its class type. So why i'm i getting the base class
type 'togl' instead of the class type 'metr' ( unlike the mute
control )? And is there a way i can distinguish between custom controls?
Greetings from Germany
Fabian Renn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden