Just construct an empty array forsounds.

This commit is contained in:
2023-02-28 21:06:40 +01:00
parent f3ce543614
commit e95cc75ef4

View File

@@ -6,7 +6,7 @@ namespace DaggerFramework
{ {
// TODO // TODO
// var data = File.ReadAllBytes(path); // var data = File.ReadAllBytes(path);
var sound = new Sound(null); var sound = new Sound(Array.Empty<byte>());
sound.Path = path; sound.Path = path;
return sound; return sound;