IPlayer.hx 654 B

1234567891011121314151617
  1. interface IPlayer {
  2. var volume(get_volume, set_volume): Float;
  3. var pan(get_pan, set_pan): Float;
  4. var soundTransform(get_soundTransform, set_soundTransform): flash.media.SoundTransform;
  5. function play(?path : String, ?trigger_buffer : Float): Void;
  6. function set_volume(volume: Float) : Float;
  7. function get_volume(): Float;
  8. function set_pan(pan: Float): Float;
  9. function get_pan(): Float;
  10. function set_soundTransform(st: flash.media.SoundTransform): flash.media.SoundTransform;
  11. function get_soundTransform(): flash.media.SoundTransform;
  12. function pause(): Void;
  13. function resume(): Void;
  14. function seek(pos: Float): Void;
  15. function stop(): Void;
  16. }