summaryrefslogtreecommitdiffstats
path: root/aac-enc-dabplus.c
diff options
context:
space:
mode:
authorpiratfm <piratfm@gmail.com>2013-04-16 18:26:06 +0300
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 17:42:35 +0100
commitf91893ab1b9187d71a1c9709f8b7fc2ad8047ddf (patch)
tree320c825ab244b57e70f3d2270fbbe147faa34030 /aac-enc-dabplus.c
parent83293a2bb69f96a5fa7f14cfdea45441c9cec0d9 (diff)
downloadODR-AudioEnc-f91893ab1b9187d71a1c9709f8b7fc2ad8047ddf.tar.gz
ODR-AudioEnc-f91893ab1b9187d71a1c9709f8b7fc2ad8047ddf.tar.bz2
ODR-AudioEnc-f91893ab1b9187d71a1c9709f8b7fc2ad8047ddf.zip
less noise
Diffstat (limited to 'aac-enc-dabplus.c')
-rw-r--r--aac-enc-dabplus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/aac-enc-dabplus.c b/aac-enc-dabplus.c
index 977077a..29e40a8 100644
--- a/aac-enc-dabplus.c
+++ b/aac-enc-dabplus.c
@@ -250,6 +250,10 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "Unable to set the wav channel order\n");
return 1;
}
+ if (aacEncoder_SetParam(handle, AACENC_GRANULE_LENGTH, 960) != AACENC_OK) {
+ fprintf(stderr, "Unable to set the AOT\n");
+ return 1;
+ }
if (aacEncoder_SetParam(handle, AACENC_TRANSMUX, TT_DABPLUS) != AACENC_OK) {
fprintf(stderr, "Unable to set the RAW transmux\n");
return 1;