MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_audio_quality_get_default

Function hb_audio_quality_get_default

libhb/common.c:2398–2421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2396}
2397
2398float hb_audio_quality_get_default(uint32_t codec)
2399{
2400 switch (codec)
2401 {
2402 case HB_ACODEC_FFAAC:
2403 return 3.;
2404
2405 case HB_ACODEC_FDK_HAAC:
2406 case HB_ACODEC_FDK_AAC:
2407 return 3.;
2408
2409 case HB_ACODEC_LAME:
2410 return 2.;
2411
2412 case HB_ACODEC_VORBIS:
2413 return 5.;
2414
2415 case HB_ACODEC_CA_AAC:
2416 return 91.;
2417
2418 default:
2419 return HB_INVALID_AUDIO_QUALITY;
2420 }
2421}
2422
2423// Get limits and hints for the UIs.
2424//

Callers 7

enable_quality_widgetsFunction · 0.85
audio_codec_changed_cbFunction · 0.85
audio_def_set_limitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected