Hello all,
i have written a channel class, which collects data from (file) sources and
copies it to a buffer. Jack will get this buffer and put it into his streams.
So far, I think, this is a normal design with the following code
for (unsigned int n = 0; n nframes; ++n)
{
Hello Tim,
On Wednesday 19 August 2009 12:37:36 Tim Goetze wrote:
It'd be a lot more helpful to see the full source but from what you're
writing I'd be willing to bet you're encountering denormals.
geeh, good point. So there is no opponent in betting with you ;=)
anyway, as i have a quick
#include xmmintrin.h
#define CPUID(f,ax,bx,cx,dx) __asm__ __volatile__ \
(cpuid: =a (ax), =b (bx), =c (cx), =d (dx) : a (f))
// denormal protection
static int set_DAZ_and_FTZ(int /*bool*/ on)
{
int sse_level = 0;
if(on)
{
unsigned long ax, bx, cx, dx;
On Wed, Aug 19, 2009 at 11:52:15AM +0200, Conrad Berhörster wrote:
for (unsigned int n = 0; n nframes; ++n)
{
pBuffer[n] += pFrames[n];
pBuffer[n] *= volume;
}
i know, it's not really optimized. But it works as an example. as you can
think, pBuffer and pFrames are
[Conrad Berhörster]
On Wednesday 19 August 2009 12:37:36 Tim Goetze wrote:
It'd be a lot more helpful to see the full source but from what you're
writing I'd be willing to bet you're encountering denormals.
geeh, good point. So there is no opponent in betting with you ;=)
anyway, as i have a
Hello Tim,
On Wednesday 19 August 2009 15:48:58 Tim Goetze wrote:
[Conrad Berhörster]
On Wednesday 19 August 2009 12:37:36 Tim Goetze wrote:
It'd be a lot more helpful to see the full source but from what you're
writing I'd be willing to bet you're encountering denormals.
geeh, good
On Tue, 18 Aug 2009 15:13:36 +0100 (BST)
james morris ja...@jwm-art.net wrote:
On 17/8/2009, Fons Adriaensen f...@kokkinizita.net wrote:
hi all,
In between smashing flies that came sitting on my hands while
typing, and taking cold showers (we have some heath wave here)
I wrote an
On Wed, Aug 19, 2009 at 4:42 PM, Conrad
Berhörsterconrad.berhoers...@gmx.de wrote:
Additionally i have read some things about denormals and SSE. It seems, that
the Problem only obtain on the AMD processor
My impression was that Intel CPUs slow down more than AMDs for
denormal handling. But my
Hello Fons,
On Wednesday 19 August 2009 14:34:45 Fons Adriaensen wrote:
if (volume 1e-10f)
{
memset (pBuffer, 0, nframes * sizeof (float));
}
else
{
for () // etc.
}
this is a cool trick to save some CPU. thanks for that hint.
If you still have this problem with the volume
On Wed, 2009-08-19 at 17:42 +0200, Conrad Berhörster wrote:
I try to understand the code, Jens had send. I found out, that it
isn't the volume parameter - it happened when i use only the sample at
standard volume.
Oh, sorry:
-8--
MAN
10 matches
Mail list logo