[][src]Function ggbasm::audio::parse_audio_text

pub fn parse_audio_text(text: &str) -> Result<Vec<AudioLine>, Error>

Parses &str into Vec<AudioLine> Returns Err if the text does not conform to the audio text format.

Documentation on the input format is given for RomBuilder::add_audio_data. Each AudioLine cooresponds to a line in the input file. Empty lines are skipped.