aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-17 20:34:05 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-17 20:34:05 +0100
commit78d2197f51204dfd47f8dbecce4aa4b6da2f2a08 (patch)
treefceccfacb83a437a391836ac3482fbe81625231c /src
parent2d7860d0d4941b5b9be153f4a4aacee216cc82a4 (diff)
downloadfdk-aac-dabplus-78d2197f51204dfd47f8dbecce4aa4b6da2f2a08.tar.gz
fdk-aac-dabplus-78d2197f51204dfd47f8dbecce4aa4b6da2f2a08.tar.bz2
fdk-aac-dabplus-78d2197f51204dfd47f8dbecce4aa4b6da2f2a08.zip
Set DAB psy model
Diffstat (limited to 'src')
-rw-r--r--src/dabplus-enc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp
index be3e593..7bd0c5b 100644
--- a/src/dabplus-enc.cpp
+++ b/src/dabplus-enc.cpp
@@ -633,6 +633,10 @@ int main(int argc, char *argv[])
err = toolame_set_bitrate(bitrate);
}
+ if (err == 0) {
+ err = toolame_set_psy_model(dab_psy_model);
+ }
+
if (dab_channel_mode == '\0') {
if (channels == 2) {
dab_channel_mode = 'j'; // Default to joint-stereo