Rework audio bitrate and quality handling (#642)

This commit is contained in:
Cameron Gutman
2022-12-28 08:30:51 -06:00
committed by GitHub
parent c7fe8f65bd
commit f4a48f44e4
3 changed files with 35 additions and 21 deletions

View File

@@ -6,6 +6,7 @@
namespace audio {
enum stream_config_e : int {
STEREO,
HIGH_STEREO,
SURROUND51,
HIGH_SURROUND51,
SURROUND71,
@@ -19,6 +20,7 @@ struct opus_stream_config_t {
int streams;
int coupledStreams;
const std::uint8_t *mapping;
int bitrate;
};
extern opus_stream_config_t stream_configs[MAX_STREAM_CONFIG];