// Use this for initialization void Start() { SoundDB sdb = new SoundDB("existing.db"); //ds.CreateDB (); var soundFiles = sdb.GetSoundFiles(); ToConsole(soundFiles); string soundFilePath = sdb.getSoundFilePath("Lion"); ToConsole("Searching for Lion Sound ..."); ToConsole(soundFilePath); }
private void StartSync() { var sdb = new SoundDB("AudioLibrary.db"); sdb.initDB(); var soundFiles = sdb.GetSoundFiles(); ToConsole(soundFiles); var soundPath = sdb.getSoundFilePath("Dog"); ToConsole("Searching for Dog ..."); ToConsole(soundPath); // sdb.createSoundFile("Zebra"); // ToConsole("New Animal has been created"); // var p = ds.GetAnimalSound ("Zebra"); // ToConsole(p.ToString()); }