]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/audio/engine/test/test.factor
alien.c-types: not necessary to import `short` differently anymore
[factor.git] / extra / audio / engine / test / test.factor
index 419f31d73bf532bc07d5cda23eef8402aecc6662..2b81c5b3e211a7c72dad1bdfaf43d116d481e827 100644 (file)
@@ -1,8 +1,8 @@
-! (c)2009 Joe Groff bsd license
-USING: accessors timers audio audio.engine audio.loader calendar
-destructors io kernel locals math math.functions math.ranges specialized-arrays
+! Copyright (C) 2009 Joe Groff.
+! See http://factorcode.org/license.txt for BSD license.
+USING: accessors timers audio.engine audio.loader calendar
+destructors io kernel math math.functions ranges specialized-arrays
 sequences random math.vectors ;
-FROM: alien.c-types => short ;
 SPECIALIZED-ARRAY: short
 IN: audio.engine.test
 
@@ -12,7 +12,7 @@ M: noise-generator generator-audio-format
     drop 1 16 8000 ;
 M: noise-generator generate-audio
     drop
-    4096 [ -4096 4096 [a,b] random ] short-array{ } replicate-as
+    4096 [ -4096 4096 [a..b] random ] short-array{ } replicate-as
     8192 ;
 M: noise-generator dispose
     drop ;