Updating built in Io code to use += instead of x = x + y
[io/quag.git] / addons / SoundTouch / samples / loopback.io
blobe03a866ede457f5a864b795c6c22fef7f1238e3a
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)