var searchIndex = {}; searchIndex["simplemad"] = {"doc":"This crate provides an interface to libmad, the MPEG audio decoding library.","items":[[3,"Frame","simplemad","A decoded frame",null,null],[12,"sample_rate","","Number of samples per second",0,null],[12,"samples","","Samples are organized into a vector of channels. For\nstereo, the left channel is channel 0.",0,null],[12,"duration","","The duration of the frame in milliseconds",0,null],[12,"position","","The position in milliseconds at the start of the frame",0,null],[3,"Decoder","","An interface for the decoding operation",null,null],[3,"MadFixed32","","libmad's native fixed-point sample format",null,null],[4,"SimplemadError","","An error encountered during the decoding process",null,null],[13,"Read","","An `io::Error` generated by the `Reader`",1,null],[13,"Mad","","A `MadError` generated by libmad",1,null],[13,"EOF","","The `Reader` has stopped producing data",1,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"decode","","Decode a file in full",2,{"inputs":[{"name":"r"}],"output":{"name":"result"}}],[11,"decode_interval","","Decode part of a file from `start_time` to `end_time`, measured in milliseconds",2,{"inputs":[{"name":"r"},{"name":"f64"},{"name":"f64"}],"output":{"name":"result"}}],[11,"get_frame","","Get the next decoding result, either a `Frame` or a `SimplemadError`",2,null],[11,"next","","",2,null],[11,"drop","","",2,null],[11,"fmt","","",1,null],[11,"from","","",1,{"inputs":[{"name":"maderror"}],"output":{"name":"simplemaderror"}}],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"simplemaderror"}}],[11,"fmt","","",3,null],[11,"default","","",3,{"inputs":[],"output":{"name":"madfixed32"}}],[11,"clone","","",3,null],[11,"new","","Construct a new MadFixed32 from a value in libmad's fixed-point format",3,{"inputs":[{"name":"i32"}],"output":{"name":"madfixed32"}}],[11,"to_raw","","Get the raw fixed-point representation",3,null],[11,"to_i16","","Convert to i16",3,null],[11,"to_i32","","Convert to i32",3,null],[11,"to_f32","","Convert to f32",3,null],[11,"to_f64","","Convert to f64",3,null],[11,"from","","",3,{"inputs":[{"name":"i32"}],"output":{"name":"madfixed32"}}],[11,"from","","",3,{"inputs":[{"name":"f32"}],"output":{"name":"madfixed32"}}],[11,"from","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"madfixed32"}}]],"paths":[[3,"Frame"],[4,"SimplemadError"],[3,"Decoder"],[3,"MadFixed32"]]}; initSearch(searchIndex);