following structure of other stuff
This commit is contained in:
@@ -211,9 +211,10 @@ class HTML5AudioSource
|
||||
|
||||
public function setPitch(value:Float):Float
|
||||
{
|
||||
|
||||
#if lime_howlerjs
|
||||
parent.buffer.__srcHowl.rate(value);
|
||||
|
||||
#end
|
||||
|
||||
return getPitch();
|
||||
}
|
||||
|
||||
|
||||
@@ -111,12 +111,12 @@ class AudioSource
|
||||
return __backend.setLoops(value);
|
||||
}
|
||||
|
||||
private function get_pitch():Float
|
||||
@:noCompletion private function get_pitch():Float
|
||||
{
|
||||
return __backend.getPitch();
|
||||
}
|
||||
|
||||
private function set_pitch(value:Float):Float
|
||||
@:noCompletion private function set_pitch(value:Float):Float
|
||||
{
|
||||
return __backend.setPitch(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user