Fibers and async io stuff for beginners

Jens Bauer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 24 05:38:38 PDT 2015


On Friday, 24 April 2015 at 09:15:21 UTC, Chris wrote:
>
> I was more thinking of the audio thread. But the audio is 
> probably better off in a separate thread.

I think you could do this too.
In fact, this is very similar to how the audio from a MOD file is 
decoded.
(I only mentioned an interrupt, because I'm used to putting audio 
in interrupts, since I work very close to the hardware; meaning 
that interrupts will normally be much more efficient)


More information about the Digitalmars-d-learn mailing list