aves_mio1/lib/model/media/video/profiles/aac.dart
FabioMich66 19a982ede6
Some checks are pending
Quality check / Flutter analysis (push) Waiting to run
Quality check / CodeQL analysis (java-kotlin) (push) Waiting to run
first commit
2026-03-05 15:51:30 +01:00

33 lines
923 B
Dart

class AAC {
static const profileMain = 0;
static const profileLowComplexity = 1;
static const profileScalableSampleRate = 2;
static const profileLongTermPrediction = 3;
static const profileHighEfficiency = 4;
static const profileHighEfficiencyV2 = 28;
static const profileLowDelay = 22;
static const profileLowDelayV2 = 38;
static String formatProfile(int profileIndex) {
switch (profileIndex) {
case profileMain:
return 'Main';
case profileLowComplexity:
return 'LC';
case profileLongTermPrediction:
return 'LTP';
case profileScalableSampleRate:
return 'SSR';
case profileHighEfficiency:
return 'HE-AAC';
case profileHighEfficiencyV2:
return 'HE-AAC v2';
case profileLowDelay:
return 'LD';
case profileLowDelayV2:
return 'ELD';
default:
return '$profileIndex';
}
}
}