repo.or.cz
/
io
/
quag.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updating built in Io code to use += instead of x = x + y
[io/quag.git]
/
addons
/
SoundTouch
/
samples
/
loopback.io
blob
e03a866ede457f5a864b795c6c22fef7f1238e3a
1
#!/
usr
/
bin
/
env io
2
3
4
AudioDevice
openForReadingAndWriting
5
6
loop
(
7
buf
:=
AudioDevice
asyncRead
8
write
(
buf size
,
"
\n
"
)
9
while
(
AudioDevice
needsData
==
false
,
10
yield
11
)
12
AudioDevice
asyncWrite
(
buf
)
13
)
14