summaryrefslogtreecommitdiffstats
path: root/aac-enc-dabplus.c
diff options
context:
space:
mode:
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;