~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to modules/audio_filter/spatializer/tuning.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Reverb model tuning values
 
2
//
 
3
// Written by Jezar at Dreampoint, June 2000
 
4
// http://www.dreampoint.co.uk
 
5
// This code is public domain
 
6
 
 
7
#ifndef _tuning_
 
8
#define _tuning_
 
9
 
 
10
const int   numcombs         = 8;
 
11
const int   numallpasses     = 4;
 
12
const float muted            = 0;
 
13
const float fixedgain        = 0.005f;
 
14
const float scalewet         = 3;
 
15
const float scaledry         = 2;
 
16
const float scaledamp        = 0.4f;
 
17
const float scaleroom        = 0.28f;
 
18
const float offsetroom       = 0.7f;
 
19
const float initialroom      = 0.5f;
 
20
const float initialdamp      = 0.5f;
 
21
const float initialwet       = 1/scalewet;
 
22
const float initialdry       = 0;
 
23
const float initialwidth     = 1;
 
24
const float initialmode      = 0;
 
25
const float freezemode       = 0.5f;
 
26
const int   stereospread     = 23;
 
27
 
 
28
// These values assume 44.1KHz sample rate
 
29
// they will probably be OK for 48KHz sample rate
 
30
// but would need scaling for 96KHz (or other) sample rates.
 
31
// The values were obtained by listening tests.
 
32
const int combtuningL1       = 1116;
 
33
const int combtuningR1       = 1116+stereospread;
 
34
const int combtuningL2       = 1188;
 
35
const int combtuningR2       = 1188+stereospread;
 
36
const int combtuningL3       = 1277;
 
37
const int combtuningR3       = 1277+stereospread;
 
38
const int combtuningL4       = 1356;
 
39
const int combtuningR4       = 1356+stereospread;
 
40
const int combtuningL5       = 1422;
 
41
const int combtuningR5       = 1422+stereospread;
 
42
const int combtuningL6       = 1491;
 
43
const int combtuningR6       = 1491+stereospread;
 
44
const int combtuningL7       = 1557;
 
45
const int combtuningR7       = 1557+stereospread;
 
46
const int combtuningL8       = 1617;
 
47
const int combtuningR8       = 1617+stereospread;
 
48
const int allpasstuningL1    = 556;
 
49
const int allpasstuningR1    = 556+stereospread;
 
50
const int allpasstuningL2    = 441;
 
51
const int allpasstuningR2    = 441+stereospread;
 
52
const int allpasstuningL3    = 341;
 
53
const int allpasstuningR3    = 341+stereospread;
 
54
const int allpasstuningL4    = 225;
 
55
const int allpasstuningR4    = 225+stereospread;
 
56
 
 
57
#endif//_tuning_
 
58
 
 
59
//ends
 
60