[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] SDL sound handler
From: |
strk |
Subject: |
Re: [Gnash-dev] SDL sound handler |
Date: |
Thu, 11 Jun 2009 17:18:21 +0200 |
On Thu, Jun 11, 2009 at 05:08:04PM +0200, strk wrote:
> On Thu, Jun 11, 2009 at 04:50:11PM +0200, Andrea Palmatè wrote:
>
> > so basically i must spawn a thread with its timer that call fetchSamples
> > every tot ms and play them?
>
> Yes. Not *necessarely* a thread though.
For an example of non-threaded use see testsuite/MovieTester.cpp
check out ::advance()
The MovieTester is a kind of GUI so I guess the same method
may be used form the AOS gui...
--strk;
Free GIS & Flash consultant/developer () ASCII Ribbon Campaign
http://foo.keybit.net/~strk/services.html /\ Keep it simple!