Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5198] Re: Preliminary implementation of lowlatency audio for Windows

Date2004-08-11 14:39
From"gogins@pipeline.com"
Subject[CSOUND-DEV:5198] Re: Preliminary implementation of lowlatency audio for Windows
In that case, it sounds like the #ifdefs for WIN32 in rtpa.c can be changed
to #ifdef for both WIN32 or DARWIN, and the #ifdefs for LINUX in
Top/threads.co can be changed to #ifdef for both LINUX and DARWIN, and
there is a chance that blocking ASIO will start working on OS X.

Original Message:
-----------------
From: Anthony Kozar anthony.kozar@utoledo.edu
Date: Wed, 11 Aug 2004 03:14:33 -0400
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:5186] Re: Preliminary implementation of lowlatency
audio for Windows


Since MacOS X is BSD-based, there is an implementation of pthreads on it.
This is also probably the best route to go, I would guess.

(I found the following info tonight while reading up on MacOS Threading)

"This section describes threading on Mac OS X, which provides five different
threading APIs:
1. Mach threads represent the lowest level threading on the system.
2. POSIX threads (pthreads) are layered on top of Mach threads.
3. Cocoa threads (NSThreads) are layered directly on top of pthreads.
4. Carbon MP tasks, which are API compatible with the MP tasks in Mac OS 9,
are layered on top of pthreads.
5. Carbon Thread Manager cooperative threads, which are also API compatible
with their Mac OS 9 equivalent, are also layered on top of pthreads."

Anthony

On 8/10/04 9:51 AM, gogins@pipeline.com etched in
stone:

> It will work for Mac if somebody with a Mac who can program the Mac will
> implement Mac versions of csoundCreateThreadLock, csoundWaitThreadLock,
> csoundNotifyThreadLock, and csoundDestroyThreadLock. The blocking wrapper
> requires 2 operating system mutexes. I don't think this would be
difficult,
> but then I don't really know.
> 
> Original Message:
> -----------------
> From:  jpff@codemist.co.uk
> Date: Tue, 10 Aug 2004 06:16:43 +0100
> To: csound-dev@eartha.mills.edu
> Subject: [CSOUND-DEV:5165] Re: Preliminary implementation of low latency
> audio for Windows
> 
> 
> At present the PAv19 code for Mac does not have blocking audio.  Would
> your wrapper work for Mac also?
> ==John ffitch
> 
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .