|
From: Charles Y. <cha...@pa...> - 2001-11-17 10:27:08
|
Well, that certainly sounds better :-)... but playback in kino via libdv's
extract_full_audio has always had (and still has) a hissy quality - Arne's
implementation of the ExtractAudio (in kinos/src/frame.cc) sounds better
[for those not following the kinodev lists, 0.5 allows you to choose between
the libdv and ExtractAudio rendering - for me the ExtractAudio method is
working much better].
I am currently applying Stefan's fix to ExtractAudio and it currently plays
bleepless (but slightly distorted) audio there too ... Will continue with
this and post soon.
Thanks,
Charlie
-----Original Message-----
From: kin...@li...
[mailto:kin...@li...]On Behalf Of Stefan Lucke
Sent: 17 November 2001 10:17
To: lib...@li...; kino-dev
Subject: [Kino-dev] 12bit audio bleep FIXED
Hi,
for thouse using 12bit audio should try the following
patch for fixing sound quality and audio bleeps in
32kHz 12bit mode. Patch is for libdv code
(directory: YOUR_LIBDV_BASE_DIR/libdv).
------- cut ------
--- audio.c.orig Fri Nov 16 22:59:57 2001
+++ audio.c Sat Nov 17 09:53:55 2001
@@ -500,9 +500,11 @@
lsb = inbuf[bp+2];
y = ((msb_y << 4) & 0xff0) | ((lsb >> 4) & 0xf);
- if(y > 2047) y -= 4096;
+ if(y == 2048) y = 4095;
+ if(y > 2048) y -= 4096;
z = ((msb_z << 4) & 0xff0) | (lsb & 0xf);
- if(z > 2047) z -= 4096;
+ if(z == 2048) z = 4095;
+ if(z > 2048) z -= 4096;
ysamples[i] = dv_upsample(y);
zsamples[i] = dv_upsample(z);
------- cut ------
--
mfg
Stefan Lucke (Ste...@ep...)
_______________________________________________
Kino-dev mailing list
Kin...@li...
https://lists.sourceforge.net/lists/listinfo/kino-dev
|