• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom sub control type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Custom sub control type
      • From: Jeff Moore <email@hidden>
  • Prev by Date: kIOAudioDeviceTransportTypeUSB has strange effects
  • Next by Date: Re: kIOAudioDeviceTransportTypeUSB has strange effects
  • Previous by thread: Re: kIOAudioDeviceTransportTypeUSB has strange effects
  • Next by thread: Re: Custom sub control type
  • Index(es):
    • Date
    • Thread