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