aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-08-02 11:11:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-08-02 11:11:50 +0200
commitf5b16079b7174a04160cf265b6362311fb497e62 (patch)
treef6618f70371ff9493426ed407a27968079b68fa8
parent707e7c9e1571880f4247a5770ca16b0c31de9c90 (diff)
downloaddabmux-f5b16079b7174a04160cf265b6362311fb497e62.tar.gz
dabmux-f5b16079b7174a04160cf265b6362311fb497e62.tar.bz2
dabmux-f5b16079b7174a04160cf265b6362311fb497e62.zip
Add explanation comment about UEP usage
-rw-r--r--src/DabMux.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 2de18b9..6f826c0 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -576,7 +576,13 @@ int main(int argc, char *argv[])
}
(*subchannel)->bitrate = result;
- // Use EEP unless we find a UEP configuration
+ /* Use EEP unless we find a UEP configuration
+ * UEP is only used for MPEG audio, but some bitrates don't
+ * have a UEP profile (EN 300 401 Clause 6.2.1).
+ * For these bitrates, we must switch to EEP.
+ *
+ * AAC audio and data is already EEP
+ */
if (protection->form == UEP) {
protection->form = EEP;
for (int i = 0; i < 64; i++) {