Fixed AudioCollection and Voicebank

This commit is contained in:
Michael Becker 2014-08-06 13:26:49 -04:00
parent 08be2be051
commit da6d524573
2 changed files with 17 additions and 2 deletions

View File

@ -46,7 +46,7 @@ namespace UniversalEditor.Editors.Multimedia.Audio.Voicebank
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VoiceDatabaseEditor));
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VoicebankEditor));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button2 = new System.Windows.Forms.Button();
this.lvPhonemes = new System.Windows.Forms.ListView();

View File

@ -39,7 +39,22 @@ namespace UniversalEditor.ObjectModels.Multimedia.AudioCollection.Synthesized
public string OriginalFileName { get { return mvarOriginalFileName; } set { mvarOriginalFileName = value; } }
private SynthesizedAudioObjectModel mvarObjectModel = null;
public SynthesizedAudioObjectModel ObjectModel { get { return mvarObjectModel; } }
public SynthesizedAudioObjectModel ObjectModel { get { return mvarObjectModel; } set { mvarObjectModel = value; } }
public object Clone()
{
SynthesizedAudioCollectionTrack clone = new SynthesizedAudioCollectionTrack();
clone.AlbumTitle = (mvarAlbumTitle.Clone() as string);
clone.ArtistName = (mvarArtistName.Clone() as string);
clone.Comments = (mvarComments.Clone() as string);
clone.DumperName = (mvarDumperName.Clone() as string);
clone.GameTitle = (mvarGameTitle.Clone() as string);
clone.ObjectModel = (mvarObjectModel.Clone() as SynthesizedAudioObjectModel);
clone.OriginalFileName = (mvarOriginalFileName.Clone() as string);
clone.PublisherName = (mvarPublisherName.Clone() as string);
clone.SongTitle = (mvarSongTitle.Clone() as string);
return clone;
}
}
}