summaryrefslogtreecommitdiff
path: root/src/codecs/native.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/native.cpp')
-rw-r--r--src/codecs/native.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/codecs/native.cpp b/src/codecs/native.cpp
index 124434e8..485694d1 100644
--- a/src/codecs/native.cpp
+++ b/src/codecs/native.cpp
@@ -30,6 +30,8 @@ auto NativeDecoder::OpenStream(std::shared_ptr<IStream> input, uint32_t offset)
.num_channels = 1,
.sample_rate_hz = 48000,
.total_samples = {},
+ // sample rate * channels * bits per sample / bits per kb
+ .bitrate_kbps = 48000 * 1 * 16 / 1024,
};
}