• 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
How to save/load custom audio driver properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to save/load custom audio driver properties


  • Subject: How to save/load custom audio driver properties
  • From: Fabian Renn <email@hidden>
  • Date: Mon, 8 Aug 2005 15:10:16 +0200

Hello list members,

i'm programming a driver for a usb audio device. The device has some custom features like setting the speed of the led level meter on the device. To allow the user to change this setting, i programmed an audio driver plugin that implements the custom property 'METR', a boolean value to set the led meter speed mode either to 'fast' or to 'slow'. Now i'd like to somehow save this value. So that when the user removes the device and plugs it in again at some other time, it should change the meter speed to the last set value. My idea was: that the audio driver plugin loads in the setting from a preference file when the function AudioDriverPlugInOpen of my audio driver plugin gets called . In the Core Audio headers I found a property called kAudioHardwarePropertyProcessIsMaster, commented that a driver plugin should load it's settings if this property is set. But my audio driver plugin never gets loaded with this property set to true, further more, my audio driver plugin only gets loaded when i open Audio MIDI Setup, iTunes etc. What should i do? What would be the common way to load/save settings of the driver? And whats the kAudioHardwarePropertyProcessIsMaster property for?

Greetings

Fabian _______________________________________________
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: How to save/load custom audio driver properties
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: How to add timecode to CAF, such that Final Cut Pro 5 reads it
  • Next by Date: IO Cycle Telemetry, USB Audio and AC-3 questions
  • Previous by thread: Re: Non-blocking memory allocation in real time threads
  • Next by thread: Re: How to save/load custom audio driver properties
  • Index(es):
    • Date
    • Thread