summaryrefslogtreecommitdiff
path: root/sys/src/cmd/audio/libvorbis/modes/setup_8.h
diff options
context:
space:
mode:
authorftrvxmtrx <ftrvxmtrx@gmail.com>2016-03-10 22:43:00 +0100
committerftrvxmtrx <ftrvxmtrx@gmail.com>2016-03-10 22:43:00 +0100
commitfb1551e9973ee86ccdd0ed8b125de97e9865e5ba (patch)
treef6a01c5de357cc2fd6037cce202a45fe36ec42a8 /sys/src/cmd/audio/libvorbis/modes/setup_8.h
parent0276031c011d28f182492ebbee34df35b005b4f9 (diff)
libvorbis: update to 1.3.5
Diffstat (limited to 'sys/src/cmd/audio/libvorbis/modes/setup_8.h')
-rw-r--r--sys/src/cmd/audio/libvorbis/modes/setup_8.h53
1 files changed, 28 insertions, 25 deletions
diff --git a/sys/src/cmd/audio/libvorbis/modes/setup_8.h b/sys/src/cmd/audio/libvorbis/modes/setup_8.h
index c5f0604c9..14c48374f 100644
--- a/sys/src/cmd/audio/libvorbis/modes/setup_8.h
+++ b/sys/src/cmd/audio/libvorbis/modes/setup_8.h
@@ -5,51 +5,55 @@
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
+ * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
+ * by the Xiph.Org Foundation http://www.xiph.org/ *
* *
********************************************************************
- function: 8kHz settings
- last mod: $Id: setup_8.h,v 1.2 2002/07/11 06:41:05 xiphmont Exp $
+ function: 8kHz settings
+ last mod: $Id: setup_8.h 16894 2010-02-12 20:32:12Z xiphmont $
********************************************************************/
#include "psych_8.h"
#include "residue_8.h"
-static int blocksize_8[2]={
+static const int blocksize_8[2]={
512,512
};
-static int _floor_mapping_8[2]={
- 1,1,
+static const int _floor_mapping_8a[]={
+ 6,6
};
-static double rate_mapping_8[3]={
+static const int *_floor_mapping_8[]={
+ _floor_mapping_8a
+};
+
+static const double rate_mapping_8[3]={
6000.,9000.,32000.,
};
-static double rate_mapping_8_uncoupled[3]={
+static const double rate_mapping_8_uncoupled[3]={
8000.,14000.,42000.,
};
-static double quality_mapping_8[3]={
+static const double quality_mapping_8[3]={
-.1,.0,1.
};
-static double _psy_compand_8_mapping[3]={ 0., 1., 1.};
+static const double _psy_compand_8_mapping[3]={ 0., 1., 1.};
-static double _global_mapping_8[3]={ 1., 2., 3. };
+static const double _global_mapping_8[3]={ 1., 2., 3. };
-ve_setup_data_template ve_setup_8_stereo={
+static const ve_setup_data_template ve_setup_8_stereo={
2,
rate_mapping_8,
quality_mapping_8,
2,
8000,
9000,
-
+
blocksize_8,
blocksize_8,
@@ -67,18 +71,18 @@ ve_setup_data_template ve_setup_8_stereo={
NULL,
NULL,
_psy_noise_suppress,
-
+
_psy_compand_8,
_psy_compand_8_mapping,
NULL,
{_noise_start_8,_noise_start_8},
{_noise_part_8,_noise_part_8},
- _noise_thresh_44_2,
+ _noise_thresh_5only,
_psy_ath_floater_8,
_psy_ath_abs_8,
-
+
_psy_lowpass_8,
_psy_global_44,
@@ -87,20 +91,20 @@ ve_setup_data_template ve_setup_8_stereo={
_floor_books,
_floor,
+ 1,
_floor_mapping_8,
- NULL,
_mapres_template_8_stereo
};
-ve_setup_data_template ve_setup_8_uncoupled={
+static const ve_setup_data_template ve_setup_8_uncoupled={
2,
rate_mapping_8_uncoupled,
quality_mapping_8,
-1,
8000,
9000,
-
+
blocksize_8,
blocksize_8,
@@ -118,18 +122,18 @@ ve_setup_data_template ve_setup_8_uncoupled={
NULL,
NULL,
_psy_noise_suppress,
-
+
_psy_compand_8,
_psy_compand_8_mapping,
NULL,
{_noise_start_8,_noise_start_8},
{_noise_part_8,_noise_part_8},
- _noise_thresh_44_2,
+ _noise_thresh_5only,
_psy_ath_floater_8,
_psy_ath_abs_8,
-
+
_psy_lowpass_8,
_psy_global_44,
@@ -138,9 +142,8 @@ ve_setup_data_template ve_setup_8_uncoupled={
_floor_books,
_floor,
+ 1,
_floor_mapping_8,
- NULL,
_mapres_template_8_uncoupled
};
-