ocarina: Play file after loading
Somewhere along the line I lost the call to play() when a non-library track is loaded from the harddrive.
This commit is contained in:
parent
a44ecbb795
commit
94a17a32a4
|
@ -63,6 +63,7 @@ static void on_click_open_file(GtkWidget *b, GdkEvent *e, gpointer d)
|
|||
if (file != "") {
|
||||
println("Playing file: " + file);
|
||||
libsaria::audio::load(file);
|
||||
libsaria::audio::play();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue