App using kext based on AudioReflectorDriver consumes more CPU with internal speakers
App using kext based on AudioReflectorDriver consumes more CPU with internal speakers
- Subject: App using kext based on AudioReflectorDriver consumes more CPU with internal speakers
- From: Swetha C <email@hidden>
- Date: Tue, 15 Nov 2011 11:00:38 +0530
Hi,
We have a kext based on Apple's AudioReflectorDriver sample code and an app
which is user client for the virtual device.Everything works fine except for the
app is consuming more CPU on Mac Book Pro, when the output device is "internal
speakers" even when no audio is playing. The scenario is: Mac book pro is idle
and internal speakers is the output device, the app consumes around 13% of
CPU.Under the same conditions with output device as Headphones, the CPU
consumption is around 4%. For both scenarios the app follows the same path.When
time profiled with shark, more samples are in
AppleHDAEngine::ClipOutputSamples,but for Internal speakers, it is around 76%,
with headphones it is around 36%.
On Mac Pro (Desktop)the CPU consumption is almost same for both cases and is
around 4%.
Please help with any pointers.
Regards,
Swetha
|
_______________________________________________
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