• 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
AudioHardwareIOProcStreamUsage: does the hardware know?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioHardwareIOProcStreamUsage: does the hardware know?


  • Subject: AudioHardwareIOProcStreamUsage: does the hardware know?
  • From: Heiko Panther <email@hidden>
  • Date: Wed, 04 Dec 2002 13:22:05 +0100

Hi!

A HAL client can switch streams on or off by using the selector kAudioDevicePropertyIOProcStreamUsage. This has the cycle-saving effect of the hardware drivers' sample conversion methods not being called for an unused stream.
Is there a way for the hardware driver to find out that a sream has been "switched off"? Some kind of notification maybe?
A less elegant solution would be to have counters in the sample conversion routine for each stream, and check that way if any of the streams are not being processed anymore.

Heiko Panther
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Top tip
  • Next by Date: REASON/Sibelius/CoreAudio and CoreMidi services
  • Previous by thread: Top tip
  • Next by thread: REASON/Sibelius/CoreAudio and CoreMidi services
  • Index(es):
    • Date
    • Thread