private void nextLang1Phrase() { deqNextLang1(); CurIlyaSentence = null; if (Lang1CurSegment != null) { CurIlyaSentence = new XmlIlyaSentence(); CurIlyaSentence.Lang1Segments.Add(Lang1CurSegment); CurIlyaParagraph.Sentences.Add(CurIlyaSentence); RecordedSegments = CurIlyaSentence.Lang2Segments; } }
private void nextLang1Phrase_manual() { Lang1CurSegment = new XmlWavEvent { Filename = IlyaXml.Lang1Mp3Filename, TimeIn = ManualSegmentA, TimeOut = ManualSegmentB, Type = WavEventType.Mp3Segment }; if (Lang1CurSegment != null) { CurIlyaSentence = new XmlIlyaSentence(); CurIlyaSentence.Lang1Segments.Add(Lang1CurSegment); CurIlyaParagraph.Sentences.Add(CurIlyaSentence); RecordedSegments = CurIlyaSentence.Lang2Segments; } }