[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: sound in lua
- From: Adrian Sietsma <adrian_groups@...>
- Date: Sat, 08 Jan 2005 19:31:26 +1000
i'm looking at doing some voip work (in windows), and thinking of lua...
(but that's some way off yet)
step 1: add a sound record/play library; has anyone done this ?
what i would like is feedback on posible uses / abstractions. i know
Windows audio well, but not linux / unix.
i'm considering an abstration like io/file : off the cuff -
object = sound.open(format)
object = sound.readfile(filename)
object:record(...)
...
object.play(...)
so : what belongs to which level of abstraction ?
i aim to (eventually) build a basic win32 sound library.
it raises some interesting threading / callback issues too.
Adrian