diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2018-09-07 15:41:36 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2018-09-08 19:35:32 +0200 |
commit | f4bb5ccb38e09ed0b66892c3efb751dcc3e74bb7 (patch) | |
tree | f74b7a07370ddfd6aa67ccba3b15b74d19b0690d /src/codecs/mod.rs | |
parent | bb149b3b48aef83cc623b09c1360381ff273b0fc (diff) | |
download | nihav-f4bb5ccb38e09ed0b66892c3efb751dcc3e74bb7.tar.gz |
Sipro ACELP.net decoder
Diffstat (limited to 'src/codecs/mod.rs')
-rw-r--r-- | src/codecs/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/codecs/mod.rs b/src/codecs/mod.rs index 61f4c21..f06cf5a 100644 --- a/src/codecs/mod.rs +++ b/src/codecs/mod.rs @@ -251,6 +251,8 @@ mod real; #[cfg(feature="decoder_pcm")] mod pcm; +#[cfg(feature="decoder_sipro")] +mod sipro; const DECODERS: &[DecoderInfo] = &[ #[cfg(feature="decoder_clearvideo")] @@ -290,6 +292,8 @@ const DECODERS: &[DecoderInfo] = &[ DecoderInfo { name: "ra14.4", get_decoder: real::ra144::get_decoder }, #[cfg(feature="decoder_realaudio288")] DecoderInfo { name: "ra28.8", get_decoder: real::ra288::get_decoder }, +#[cfg(feature="decoder_sipro")] + DecoderInfo { name: "sipro", get_decoder: sipro::get_decoder }, ]; pub fn find_decoder(name: &str) -> Option<fn () -> Box<NADecoder>> { |