audio driver build process
audio driver build process
- Subject: audio driver build process
- From: Laurent Humbert <email@hidden>
- Date: Fri, 13 Sep 2002 10:56:13 +0200
[msg cross-posted to coreaudio-api and projectbuilder-users]
Hi there;
I am looking for ways to make my audio driver build less of a chore.
I'm getting really burnt out by it...
First, I'd like to thank whoever at Apple fixed the LoginWindow bug
that prevented audio drivers to be unloaded after the device was
unplugged. Not having to restart everytime is an improvement.
Now what I would like is to have the driver unloaded instantly and
not have to wait 30 seconds. Is there some arcane Terminal command
that would configure the System that way ?
Now onto the build itself. The way I do things is:
- go to the Terminal
- log on as root
- copy and paste from a NotePad utility the following commands:
cd /MyAudioDriver
rm -rf build
pbxbuild -target MyAudioDriver install
- if the build succeeds, I then copy and paste
cd /tmp/MyAudioDriver.dst
ditto . /
This puts a new version of my driver in /System/Library/Extensions/
Call me a Mac user, but I'd like to achieve the same result with a
1-click (tm) operation. I'm fed up having to do this fastidious
monkey business in the Terminal and NotePad every single time (with
the added bonus of having to wait 30 seconds for the previous driver
to unload).
Any suggestions how to improve this, anyone ? I'm thinking of working
as "root" and get ProjectBuilder's build command to somehow generate
the driver directly in /System/Library/Extensions/. Would that be
possible ? I just want to hit Command-B and let PB get on with it.
Thanks;
Laurent
_______________________________________________
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.