Re: Coreaudio User-land driver
Re: Coreaudio User-land driver
- Subject: Re: Coreaudio User-land driver
- From: Alexis Zbik <email@hidden>
- Date: Mon, 19 Nov 2012 16:12:43 +0100
Ok, i download the last version of the core-audio userland driver example (this one was released 6.11.2012) but some bug are still here (and it appears new ones ...)
First of all when i do a kextutil i got this:
No kernel file specified, using '/mach_kernel'
(kernel) kxld[com.apple.audio.SimpleAudioDriver]: The following symbols are unresolved for this kext:
(kernel) kxld[com.apple.audio.SimpleAudioDriver]: _random
(kernel) Can't load kext com.apple.audio.SimpleAudioDriver - link failed.
(kernel) Failed to load executable for kext com.apple.audio.SimpleAudioDriver.
(kernel) Kext com.apple.audio.SimpleAudioDriver failed to load (0xdc008016).
(kernel) Failed to load kext com.apple.audio.SimpleAudioDriver (error 0xdc008016).
Failed to load /System/Library/Extensions/SimpleAudioDriver.kext - (libkern/kext) link error.
The kernel extension is looking for a "random" dylib in my mac ... so i had to delete the function call random() in the file SimpleAudioDriver.cpp (line 94)
After a perfect kextload, the driver still shows a 0.0Hz samplerate ...
Is it possible to have more explanation of the aim of this example (especially the kernel side of the simpleaudiodriver/simpleaudioplugin). Is it possible to find something who works like the old SampleAudioUSBPlugin, but with a user-land side?
Thanks for your answers.
2012/10/23 Alexis Zbik
<email@hidden>
Ok just tested on 10.8.
NullAudio driver is totally userland, seems to be simple and to do the same job than the older Hardware Plugin.
I look at the SimpleDriver architecture. Looks more complex.
Readme file say that it contains a kernel extension and a .driver file.
I did a perfect kextload on my kernel extension (except a strange "No kernel file specified, using '/mach_kernel' ") who shows a new audio device in the list.
But this device seems to be corrupted (withn 0KHz Samplerate for example), it's impossible for me to choose it as a default device.
I will continue to explore, if somebody have some tips, please share it.
Thanks,
Alexis2012/10/23 Alexis Zbik
<email@hidden>
2012/10/22 Joel Reymont <email@hidden>
On Mon, Oct 22, 2012 at 2:45 PM, Alexis Zbik <
email@hidden> wrote:
> For the HAL drivers I'm not able to build with 10.8 SDK (miss some headers
> in CoreAudio framework) so it does not run on 10.7.
You are not able to build on 10.7 using the 10.8 SDK, is that what you
are saying?
I did a mistake: i'm not able to build with 10.7 SDK on my 10.7, cause it miss some headers in CoreAudio (e.g. AudioHardwareBase.h)
> These seems to be like old HardwarePlugin, isn't it?
Don't know, haven't used the old hardware plugin.
> I talk about a kext because the project contains a kernel extension called
> SimpleAudioDrvier who should be installed inside System/Library/Extensions
That's an example of a user-land audio driver with a kernel driver
component. My apologies for not pointing that out earlier.
It's Ok. Thanks for your help. I will try to have a look under 10.8.
--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs |
http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
--
Alexis ZBIKMac & Audio DeveloperA-Volute
25, rue Corneille
59100, Roubaix, France
email@hidden
--
Alexis ZBIKMac & Audio DeveloperA-Volute
25, rue Corneille
59100, Roubaix, France
email@hidden
--
Alexis ZBIKMac & Audio DeveloperA-Volute
25, rue Corneille
59100, Roubaix, France
email@hidden
_______________________________________________
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