1 /********************************************************************
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 *
9 * by the Xiph.Org Foundation http://www.xiph.org/ *
11 ********************************************************************
13 function: 22kHz settings
14 last mod: $Id: setup_22.h 16227 2009-07-08 06:58:46Z xiphmont $
16 ********************************************************************/
18 static const double rate_mapping_22
[4]={
19 15000.,20000.,44000.,86000.
22 static const double rate_mapping_22_uncoupled
[4]={
23 16000.,28000.,50000.,90000.
26 static const double _psy_lowpass_22
[4]={9.5,11.,30.,99.};
28 static const ve_setup_data_template ve_setup_22_stereo
={
39 _psy_tone_masteratt_16
,
48 _psy_noisebias_16_impulse
,
49 _psy_noisebias_16_short
,
50 _psy_noisebias_16_short
,
55 _psy_compand_8_mapping
,
56 _psy_compand_8_mapping
,
58 {_noise_start_16
,_noise_start_16
},
59 { _noise_part_16
, _noise_part_16
},
73 _floor_mapping_16_short
,
76 _mapres_template_16_stereo
79 static const ve_setup_data_template ve_setup_22_uncoupled
={
81 rate_mapping_22_uncoupled
,
90 _psy_tone_masteratt_16
,
99 _psy_noisebias_16_impulse
,
100 _psy_noisebias_16_short
,
101 _psy_noisebias_16_short
,
106 _psy_compand_8_mapping
,
107 _psy_compand_8_mapping
,
109 {_noise_start_16
,_noise_start_16
},
110 { _noise_part_16
, _noise_part_16
},
120 _psy_stereo_modes_16
,
124 _floor_mapping_16_short
,
127 _mapres_template_16_uncoupled