Re: Setting the buffer size when using the Default Output AudioUnit
Re: Setting the buffer size when using the Default Output AudioUnit
- Subject: Re: Setting the buffer size when using the Default Output AudioUnit
- From: Lionel Woog <email@hidden>
- Date: Thu, 20 Feb 2003 13:37:38 -0500
Thanks, did that and it works now.
Lionel
>
On Thursday, February 20, 2003, at 12:38 AM, EJ Campbell wrote:
>
>
> I'm including /usr/include/mach/semaphore.h and making calls such as
>
> semaphore_wait(). Someone more familiar with mach should be able to
>
> steer you in the right direction. Perhaps you're accidently using some
>
> calls that are only available from inside the Kernel.
>
>
Yes, that is the problem. Don't use any of the headers in
>
/System/Library/Frameworks/Kernel.framework/Headers unless you are
>
writing a kernel extension. Many (if not all) of the functions there
>
can only be used when you are running inside the kernel, not in a
>
regular user-land program.
>
>
(And don't link against Kernel.framework either! It won't do anything
>
useful.)
>
>
If you want to use Mach API, look in /usr/include/mach. You would
>
include the headers by doing something like #include
>
<mach/mach_whatever.h>. You don't need to link against any special
>
libraries or frameworks.
>
>
> On Wednesday, February 19, 2003, at 12:13 PM, Lionel Woog wrote:
>
>
>
>> I used mach mutex and wait queues, but I cannot link, I get a
>
>>
>
>> ld: Undefined symbols:
>
>> _wait_queue_assert_wait
>
>> _mutex_lock
>
>> _mutex_unlock
>
>> _wait_queue_wakeup_all
>
>> _mutex_alloc
>
>> _wait_queue_alloc
>
>> _wait_queue_free
>
>> _mutex_free
>
>
--
>
Kurt Revis
>
email@hidden
>
--
Lionel Woog, Ph.D.
CTO
Adapted Wave Technologies, Inc.
email: email@hidden
phone: 212-645-0670
_______________________________________________
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.