Removed all code that uses OpenGL from Image.
[io/quag.git] / addons / PortAudio / samples / loopback.io
blobcd35f730809fb455a4f5b79055b2bffe34f96959
1 #!/usr/bin/env io
4 AudioDevice openForReadingAndWriting
6 loop(
7 buf := AudioDevice asyncRead
8 //write(buf size, "\n")
9 while(AudioDevice needsData == false,
10 yield
12 AudioDevice asyncWrite(buf)