publish changes
This commit is contained in:
parent
afc5064a7b
commit
ac2c6ac843
1605 changed files with 3354 additions and 3354 deletions
|
@ -103,7 +103,7 @@ static int _ve_amp(envelope_lookup *ve,
|
|||
float minV=ve->minenergy;
|
||||
float *vec=alloca(n*sizeof(*vec));
|
||||
|
||||
/* stretch is used to gradually lengthen the number of windows
|
||||
/* stretch is used to gradually lengthen the number of arch
|
||||
considered prevoius-to-potential-trigger */
|
||||
int stretch=max(VE_MINSTRETCH,ve->stretch/2);
|
||||
float penalty=gi->stretch_penalty-(ve->stretch/2-VE_MINSTRETCH);
|
||||
|
|
|
@ -602,7 +602,7 @@ static int mapping0_forward(vorbis_block *vb){
|
|||
/* Encode the packet type */
|
||||
oggpack_write(opb,0,1);
|
||||
/* Encode the modenumber */
|
||||
/* Encode frame mode, pre,post windowsize, then dispatch */
|
||||
/* Encode frame mode, pre,post archize, then dispatch */
|
||||
oggpack_write(opb,modenumber,b->modebits);
|
||||
if(vb->W){
|
||||
oggpack_write(opb,vb->lW,1);
|
||||
|
|
|
@ -44,7 +44,7 @@ int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
|
|||
return(OV_ENOTAUDIO);
|
||||
}
|
||||
|
||||
/* read our mode and pre/post windowsize */
|
||||
/* read our mode and pre/post archize */
|
||||
mode=oggpack_read(opb,b->modebits);
|
||||
if(mode==-1){
|
||||
return(OV_EBADPACKET);
|
||||
|
@ -108,7 +108,7 @@ int vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op){
|
|||
return(OV_ENOTAUDIO);
|
||||
}
|
||||
|
||||
/* read our mode and pre/post windowsize */
|
||||
/* read our mode and pre/post archize */
|
||||
mode=oggpack_read(opb,b->modebits);
|
||||
if(mode==-1)return(OV_EBADPACKET);
|
||||
|
||||
|
@ -157,7 +157,7 @@ long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op){
|
|||
return(OV_ENOTAUDIO);
|
||||
}
|
||||
|
||||
/* read our mode and pre/post windowsize */
|
||||
/* read our mode and pre/post archize */
|
||||
mode=oggpack_read(&opb,ov_ilog(ci->modes-1));
|
||||
if(mode==-1 || !ci->mode_param[mode])return(OV_EBADPACKET);
|
||||
return(ci->blocksizes[ci->mode_param[mode]->blockflag]);
|
||||
|
@ -167,7 +167,7 @@ int vorbis_synthesis_halfrate(vorbis_info *vi,int flag){
|
|||
/* set / clear half-sample-rate mode */
|
||||
codec_setup_info *ci=vi->codec_setup;
|
||||
|
||||
/* right now, our MDCT can't handle < 64 sample windows. */
|
||||
/* right now, our MDCT can't handle < 64 sample arch. */
|
||||
if(ci->blocksizes[0]<=64 && flag)return -1;
|
||||
ci->halfrate_flag=(flag?1:0);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue