Displaying 2 results from an estimated 2 matches for "ampmax".
Did you mean:
tmpmax
2012 Dec 12
1
[PATCH] psy.c tweak
...GINF -9999.f
+#define NEGINF (-9999.f)
static const double stereo_threshholds[]={0.0, .5, 1.0, 1.5, 2.5, 4.5, 8.5, 16.5, 9e10};
static const double stereo_threshholds_limited[]={0.0, .5, 1.0, 1.5, 2.0, 2.5, 4.5, 8.5, 9e10};
@@ -40,7 +40,7 @@
look->channels=vi->channels;
- look->ampmax=-9999.;
+ look->ampmax=NEGINF;
look->gi=gi;
return(look);
}
@@ -836,7 +836,7 @@
float secs=(float)n/vi->rate;
amp+=secs*gi->ampmax_att_per_sec;
- if(amp<-9999)amp=-9999;
+ if(amp<NEGINF)amp=NEGINF;
return(amp);
}
2017 Feb 06
3
libvorbis without encapulsation
...n an array of buffers internal to vorbis_block:
(*vorbis_block.internal)(vorbis_block.internal)->packetblob[PACKETBLOBS
/ 2]
(PACKETBLOBS = 15, the macro is not commented, so don't know what this
is).
This is the output of a encoder pass from gdb:
(gdb) p *vbi
$3 = {pcmdelay = 0x647140, ampmax = -58.0271301, blocktype = 0,
packetblob = {0x6473c0, 0x647500, 0x647640, 0x647780, 0x6478c0,
0x647a00, 0x647b40, 0x7fffffffdeb8, 0x647d90, 0x647ed0, 0x648010,
0x648150, 0x648290, 0x6483d0, 0x648510}}
The stack address is the "oggpack_buffer index" in question. I can't
find this...