Re: [linux-audio-dev] Wrote a real time safe memory allocator in C++

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Wrote a real time safe memory allocator in C++
From: Michael Ost (most_AT_museresearch.com)
Date: Sat Sep 06 2003 - 23:48:55 EEST


Great link. Thanks. We are working on a commercial Linux based music
product. We have strong Windows/Mac skills, but are still learning in
the Linux environment. This list is a helpful place to lurk... %)

One particular issue that was mentioned on those pages was that timing
is not very accurate (dependent on HZ?) in 2.4 kernels, with great
improvments in 2.5/2.6 revs.

I am using clock_gettime(CLOCK_REALTIME) from the librt.so library. I
get values that are finer grained than HZ. Are they for real? Or perhaps
just random?

What big improvements are going on with timing in 2.5/6?

Thanks for any help.... mo

===================================
Michael Ost, Software Architect
Muse Research, Inc.
most_AT_museresearch.com

On Thu, 2003-09-04 at 10:33, Mark Rages wrote:
> On Thu, Sep 04, 2003 at 07:37:31AM -0700, Greg Reddin wrote:
> > > (badly enough there are still too many audio developers that
> > > call new,delete, malloc() and free() within the audio RT thread !)
> >
> > Is there a web resource or book or something where one can learn
> > about these programming caveats for audio developers? I knew nothing
> > of this problem, but it makes sense when you mention it.
> >
>
> Go here:
>
> http://www.linuxdj.com/audio/lad/eventszkm2003.php3
>
> and check out Paul Davis's presentation "10 Things You Might Not Have
> Thought About When Writing An Audio Application".
>
> Regards,
> Mark
> markrages_AT_mlug


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Sep 06 2003 - 23:57:44 EEST