swf_SetSoundStreamBlock now takes four parameters.
authorkramm <kramm>
Sat, 31 Jan 2004 20:07:54 +0000 (20:07 +0000)
committerkramm <kramm>
Sat, 31 Jan 2004 20:07:54 +0000 (20:07 +0000)
lib/example/sound.c

index 08009e8..2c0d892 100644 (file)
@@ -64,7 +64,7 @@ int main (int argc,char ** argv)
          block[s] = (int)(32767*sin(s*8*3.14159/blocksize));
          if(t==0) block[s] = 0;
       }
-      swf_SetSoundStreamBlock(tag, block, 1);
+      swf_SetSoundStreamBlock(tag, block, 1, 0);
       tag = swf_InsertTag(tag, ST_SHOWFRAME);
   }