]> git.nihav.org Git - nihav.git/blobdiff - src/codecs/mod.rs
ATRAC3 decoder
[nihav.git] / src / codecs / mod.rs
index c3833576f79deff0225533814ab3c62b9b290b36..057542a06392609c2619321691e6b9b1d48825d7 100644 (file)
@@ -246,9 +246,11 @@ mod gremlinvideo;
 mod indeo;
 #[cfg(feature="h263")]
 mod h263;
-#[cfg(any(feature="decoder_realvideo3", feature="decoder_realvideo4", feature="decoder_realvideo6", feature="decoder_realaudio144", feature="decoder_realaudio288"))]
+#[cfg(any(feature="decoder_realvideo3", feature="decoder_realvideo4", feature="decoder_realvideo6", feature="decoder_realaudio144", feature="decoder_realaudio288", feature="decoder_cook", feature="decoder_ralf"))]
 mod real;
 
+#[cfg(feature="decoder_atrac3")]
+mod atrac3;
 #[cfg(feature="decoder_pcm")]
 mod pcm;
 #[cfg(feature="decoder_sipro")]
@@ -298,6 +300,12 @@ const DECODERS: &[DecoderInfo] = &[
     DecoderInfo { name: "sipro", get_decoder: sipro::get_decoder },
 #[cfg(feature="decoder_ts102366")]
     DecoderInfo { name: "ac3", get_decoder: ts102366::get_decoder },
+#[cfg(feature="decoder_cook")]
+    DecoderInfo { name: "cook", get_decoder: real::cook::get_decoder },
+#[cfg(feature="decoder_atrac3")]
+    DecoderInfo { name: "atrac3", get_decoder: atrac3::get_decoder },
+#[cfg(feature="decoder_ralf")]
+    DecoderInfo { name: "ralf", get_decoder: real::ralf::get_decoder },
 ];
 
 pub fn find_decoder(name: &str) -> Option<fn () -> Box<NADecoder>> {