From 761ab4b89017f5b4ebcf6eb1aada4aa0a1a20b45 Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 2 Apr 2003 15:01:15 +0000 Subject: [PATCH] allow to set sample value --- lib/modules/swfsound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/swfsound.c b/lib/modules/swfsound.c index 2209d85..b2801bd 100644 --- a/lib/modules/swfsound.c +++ b/lib/modules/swfsound.c @@ -145,7 +145,7 @@ void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first) if(first) { int fs = lame_get_framesize(lame_flags); //printf("framesize:%d\n", fs); - swf_SetU16(tag, fs); // samples per mp3 frame + swf_SetU16(tag, fs * first); // samples per mp3 frame swf_SetU16(tag, seek); // seek } -- 1.7.10.4