forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
19
Kha/Backends/WPF/kha/wpf/Sound.hx
Normal file
19
Kha/Backends/WPF/kha/wpf/Sound.hx
Normal file
@ -0,0 +1,19 @@
|
||||
package kha.wpf;
|
||||
|
||||
import kha.audio1.AudioChannel;
|
||||
import system.io.Path;
|
||||
import system.Uri;
|
||||
import system.UriKind;
|
||||
import system.windows.controls.MediaElement;
|
||||
import system.windows.controls.MediaState;
|
||||
|
||||
class Sound extends kha.Sound {
|
||||
public var filename: String;
|
||||
|
||||
var channel: AudioChannel;
|
||||
|
||||
public function new(filename: String): Void {
|
||||
super();
|
||||
this.filename = filename;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user