20 lines
406 B
Haxe
20 lines
406 B
Haxe
|
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;
|
||
|
}
|
||
|
}
|