summaryrefslogtreecommitdiff
path: root/src/client/snd_codec.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-02-17 18:32:05 -0600
committerTim Angus <tim@ngus.net>2013-03-19 16:41:10 +0000
commit5eb2ccc45d9fd9880540411e1624821c73136db6 (patch)
tree1001894460581351ec868b1a41297763d35d0932 /src/client/snd_codec.c
parenta1242716ad0106aa3c82cecc364fae0b6778a15b (diff)
Add Ogg Opus support
Diffstat (limited to 'src/client/snd_codec.c')
-rw-r--r--src/client/snd_codec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/snd_codec.c b/src/client/snd_codec.c
index 0e697cf3..bce3955d 100644
--- a/src/client/snd_codec.c
+++ b/src/client/snd_codec.c
@@ -125,6 +125,10 @@ void S_CodecInit()
{
codecs = NULL;
+#ifdef USE_CODEC_OPUS
+ S_CodecRegister(&opus_codec);
+#endif
+
#ifdef USE_CODEC_VORBIS
S_CodecRegister(&ogg_codec);
#endif