Quality based encoding is not supported by libopus.
But compression levels *are* supported.
*high = 127.;
break;
- case HB_ACODEC_OPUS:
- *direction = 0;
- *granularity = 1.;
- *low = 0.;
- *high = 10.;
- break;
-
default:
*direction = 0;
*granularity = 1.;
case HB_ACODEC_CA_AAC:
return 91.;
- case HB_ACODEC_OPUS:
- return 10.;
-
default:
return HB_INVALID_AUDIO_QUALITY;
}
*low = 0.;
break;
+ case HB_ACODEC_OPUS:
+ *direction = 0;
+ *granularity = 1.;
+ *high = 10.;
+ *low = 0.;
+ break;
+
default:
*direction = 0;
*granularity = 1.;
case HB_ACODEC_LAME:
return 2.;
+ case HB_ACODEC_OPUS:
+ return 10.;
+
default:
return -1.;
}