following structure of other stuff

This commit is contained in:
Cameron Taylor
2021-12-18 18:05:32 -05:00
parent b3dd46ee68
commit cd2ab1600e
2 changed files with 5 additions and 4 deletions

View File

@@ -211,9 +211,10 @@ class HTML5AudioSource
public function setPitch(value:Float):Float
{
#if lime_howlerjs
parent.buffer.__srcHowl.rate(value);
#end
return getPitch();
}

View File

@@ -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);
}