summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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