add "0VU = +8dBu" VU meter config
This commit is contained in:
parent
b713fceed0
commit
2c9484fe14
@ -104,12 +104,14 @@ static float meter_lineup(float offset) {
|
||||
static float vu_standard() {
|
||||
// note - default meter config is +2dB (france)
|
||||
switch (Config->get_meter_vu_standard()) {
|
||||
case MeteringVUfrench: // +2dB
|
||||
case MeteringVUfrench: // 0VU = -2dBu
|
||||
return 0;
|
||||
case MeteringVUamerican: // 0dB
|
||||
case MeteringVUamerican: // 0VU = 0dBu
|
||||
return -2;
|
||||
case MeteringVUstandard: // -4dB
|
||||
case MeteringVUstandard: // 0VU = +4dBu
|
||||
return -6;
|
||||
case MeteringVUeight: // 0VU = +8dBu
|
||||
return -10;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1945,6 +1945,7 @@ RCOptionEditor::RCOptionEditor ()
|
||||
mvu->add (MeteringVUfrench, _("0VU = -2dBu (France)"));
|
||||
mvu->add (MeteringVUamerican, _("0VU = 0dBu (North America, Australia)"));
|
||||
mvu->add (MeteringVUstandard, _("0VU = +4dBu (standard)"));
|
||||
mvu->add (MeteringVUstandard, _("0VU = +8dBu"));
|
||||
|
||||
add_option (S_("Preferences|GUI"), mvu);
|
||||
|
||||
|
@ -384,9 +384,10 @@ namespace ARDOUR {
|
||||
};
|
||||
|
||||
enum VUMeterStandard {
|
||||
MeteringVUfrench, // + 2
|
||||
MeteringVUamerican, // +-0
|
||||
MeteringVUstandard // -4
|
||||
MeteringVUfrench, // 0VU = -2dBu
|
||||
MeteringVUamerican, // 0VU = 0dBu
|
||||
MeteringVUstandard, // 0VU = +4dBu
|
||||
MeteringVUeight // 0VU = +8dBu
|
||||
};
|
||||
|
||||
enum MeterLineUp {
|
||||
|
@ -226,6 +226,7 @@ setup_enum_writer ()
|
||||
REGISTER_ENUM (MeteringVUfrench);
|
||||
REGISTER_ENUM (MeteringVUamerican);
|
||||
REGISTER_ENUM (MeteringVUstandard);
|
||||
REGISTER_ENUM (MeteringVUeight);
|
||||
REGISTER (_VUMeterStandard);
|
||||
|
||||
REGISTER_ENUM (MeteringLineUp24);
|
||||
|
Loading…
Reference in New Issue
Block a user