protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] Peak building/drawing question


From: Luciano Giordana
Subject: Re: [Protux-devel] Peak building/drawing question
Date: Tue, 1 Jul 2003 16:54:09 -0400
User-agent: KMail/1.5

> > The peak files are much to large (about 1/8 of the actual audioFileSize).
> > I changed the primitive type, so the peak buffers are now made with
> > "char" instead of "short", reducing the peakfile and buffersize with a
> > factor 2. If there are no objections to this change, I will upload it
> > within a few hours. Peakfiles made with an older version of the peak
> > build proces do not work then anymore. Simply delete them, so they are
> > regenerated. (Well, that should be the case).

ooh, do you mean you are using only one char to represent the peak ?
this is ok, but if track height is greater than 256 pixels, there could be a 
problem

that will also have an impact on fill_buffer routine. take care




>

> short is 16 bits (2 chars) type. It should not make ANY difference !!!
> using shorts is a little faster , though. if I use chars, I have to
> calculate the sample, while using shorts, I dont have to r u sure you are
> keeping the consistency of peaks ?
>
> > Thanks,
> >
> > Remon
> >
> >
> > _______________________________________________
> > Protux-devel mailing list
> > address@hidden
> > http://mail.nongnu.org/mailman/listinfo/protux-devel

-- 
Best Regards
--
Luciano Giordana - Musician - Certified Java/GNU C++ Developer - Free Software 
Evangelist
Project Mustux - http://www.freesoftware.fsf.org/mustux
-- GNU/Linux adoption grew 65% only this yer. Smile : we're winning. --




reply via email to

[Prev in Thread] Current Thread [Next in Thread]