forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
20
Kha/Tools/linux_arm64/std/flash/media/AVABRParameters.hx
Normal file
20
Kha/Tools/linux_arm64/std/flash/media/AVABRParameters.hx
Normal file
@ -0,0 +1,20 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVABRParameters {
|
||||
@:flash.property var maxBitsPerSecond(get,set) : Int;
|
||||
@:flash.property var minBitsPerSecond(get,set) : Int;
|
||||
@:flash.property var policy(get,set) : String;
|
||||
@:flash.property var startBitsPerSecond(get,set) : Int;
|
||||
function new(init_policy : String, init_startBitsPerSecond : UInt, init_minBitsPerSecond : UInt, init_maxBitsPerSecond : UInt) : Void;
|
||||
private function get_maxBitsPerSecond() : Int;
|
||||
private function get_minBitsPerSecond() : Int;
|
||||
private function get_policy() : String;
|
||||
private function get_startBitsPerSecond() : Int;
|
||||
private function set_maxBitsPerSecond(value : Int) : Int;
|
||||
private function set_minBitsPerSecond(value : Int) : Int;
|
||||
private function set_policy(value : String) : String;
|
||||
private function set_startBitsPerSecond(value : Int) : Int;
|
||||
static final AGGRESSIVE : String;
|
||||
static final CONSERVATIVE : String;
|
||||
static final MODERATE : String;
|
||||
}
|
11
Kha/Tools/linux_arm64/std/flash/media/AVABRProfileInfo.hx
Normal file
11
Kha/Tools/linux_arm64/std/flash/media/AVABRProfileInfo.hx
Normal file
@ -0,0 +1,11 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVABRProfileInfo {
|
||||
@:flash.property var bitsPerSecond(get,never) : Int;
|
||||
@:flash.property var height(get,never) : Int;
|
||||
@:flash.property var width(get,never) : Int;
|
||||
function new(init_bitsPerSecond : Int, init_width : Int, init_height : Int) : Void;
|
||||
private function get_bitsPerSecond() : Int;
|
||||
private function get_height() : Int;
|
||||
private function get_width() : Int;
|
||||
}
|
77
Kha/Tools/linux_arm64/std/flash/media/AVCaptionStyle.hx
Normal file
77
Kha/Tools/linux_arm64/std/flash/media/AVCaptionStyle.hx
Normal file
@ -0,0 +1,77 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVCaptionStyle {
|
||||
@:flash.property var backgroundColor(get,set) : String;
|
||||
@:flash.property var backgroundOpacity(get,set) : String;
|
||||
@:flash.property var bottomInset(get,set) : String;
|
||||
@:flash.property var edgeColor(get,set) : String;
|
||||
@:flash.property var fillColor(get,set) : String;
|
||||
@:flash.property var fillOpacity(get,set) : String;
|
||||
@:flash.property var font(get,set) : String;
|
||||
@:flash.property var fontColor(get,set) : String;
|
||||
@:flash.property var fontEdge(get,set) : String;
|
||||
@:flash.property var fontOpacity(get,set) : String;
|
||||
@:flash.property var size(get,set) : String;
|
||||
function new() : Void;
|
||||
private function get_backgroundColor() : String;
|
||||
private function get_backgroundOpacity() : String;
|
||||
private function get_bottomInset() : String;
|
||||
private function get_edgeColor() : String;
|
||||
private function get_fillColor() : String;
|
||||
private function get_fillOpacity() : String;
|
||||
private function get_font() : String;
|
||||
private function get_fontColor() : String;
|
||||
private function get_fontEdge() : String;
|
||||
private function get_fontOpacity() : String;
|
||||
private function get_size() : String;
|
||||
private function set_backgroundColor(value : String) : String;
|
||||
private function set_backgroundOpacity(value : String) : String;
|
||||
private function set_bottomInset(value : String) : String;
|
||||
private function set_edgeColor(value : String) : String;
|
||||
private function set_fillColor(value : String) : String;
|
||||
private function set_fillOpacity(value : String) : String;
|
||||
private function set_font(value : String) : String;
|
||||
private function set_fontColor(value : String) : String;
|
||||
private function set_fontEdge(value : String) : String;
|
||||
private function set_fontOpacity(value : String) : String;
|
||||
private function set_size(value : String) : String;
|
||||
static final BLACK : String;
|
||||
static final BLUE : String;
|
||||
static final BRIGHT_BLUE : String;
|
||||
static final BRIGHT_CYAN : String;
|
||||
static final BRIGHT_GREEN : String;
|
||||
static final BRIGHT_MAGENTA : String;
|
||||
static final BRIGHT_RED : String;
|
||||
static final BRIGHT_WHITE : String;
|
||||
static final BRIGHT_YELLOW : String;
|
||||
static final CASUAL : String;
|
||||
static final CURSIVE : String;
|
||||
static final CYAN : String;
|
||||
static final DARK_BLUE : String;
|
||||
static final DARK_CYAN : String;
|
||||
static final DARK_GREEN : String;
|
||||
static final DARK_MAGENTA : String;
|
||||
static final DARK_RED : String;
|
||||
static final DARK_YELLOW : String;
|
||||
static final DEFAULT : String;
|
||||
static final DEPRESSED : String;
|
||||
static final GRAY : String;
|
||||
static final GREEN : String;
|
||||
static final LARGE : String;
|
||||
static final LEFT_DROP_SHADOW : String;
|
||||
static final MAGENTA : String;
|
||||
static final MEDIUM : String;
|
||||
static final MONOSPACED_WITHOUT_SERIFS : String;
|
||||
static final MONOSPACE_WITH_SERIFS : String;
|
||||
static final NONE : String;
|
||||
static final PROPORTIONAL_WITHOUT_SERIFS : String;
|
||||
static final PROPORTIONAL_WITH_SERIFS : String;
|
||||
static final RAISED : String;
|
||||
static final RED : String;
|
||||
static final RIGHT_DROP_SHADOW : String;
|
||||
static final SMALL : String;
|
||||
static final SMALL_CAPITALS : String;
|
||||
static final UNIFORM : String;
|
||||
static final WHITE : String;
|
||||
static final YELLOW : String;
|
||||
}
|
9
Kha/Tools/linux_arm64/std/flash/media/AVCuePoint.hx
Normal file
9
Kha/Tools/linux_arm64/std/flash/media/AVCuePoint.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVCuePoint {
|
||||
@:flash.property var dictionary(get,never) : flash.utils.Dictionary;
|
||||
@:flash.property var localTime(get,never) : Float;
|
||||
function new(init_dictionary : flash.utils.Dictionary, init_localTime : Float) : Void;
|
||||
private function get_dictionary() : flash.utils.Dictionary;
|
||||
private function get_localTime() : Float;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVInsertionResult extends AVResult {
|
||||
@:flash.property var insertedBeforeReadHead(get,never) : Bool;
|
||||
@:flash.property var periodIndex(get,never) : Int;
|
||||
function new(result : Int, periodIndex : Int, insertedBeforeReadHead : Bool) : Void;
|
||||
private function get_insertedBeforeReadHead() : Bool;
|
||||
private function get_periodIndex() : Int;
|
||||
}
|
20
Kha/Tools/linux_arm64/std/flash/media/AVNetworkingParams.hx
Normal file
20
Kha/Tools/linux_arm64/std/flash/media/AVNetworkingParams.hx
Normal file
@ -0,0 +1,20 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVNetworkingParams {
|
||||
@:flash.property var appendRandomQueryParameter(get,set) : String;
|
||||
@:flash.property var forceNativeNetworking(get,set) : Bool;
|
||||
@:flash.property var networkDownVerificationUrl(get,set) : String;
|
||||
@:flash.property var readSetCookieHeader(get,set) : Bool;
|
||||
@:flash.property var useCookieHeaderForAllRequests(get,set) : Bool;
|
||||
function new(init_forceNativeNetworking : Bool = false, init_readSetCookieHeader : Bool = true, init_useCookieHeaderForAllRequests : Bool = false, ?init_networkDownVerificationUrl : String) : Void;
|
||||
private function get_appendRandomQueryParameter() : String;
|
||||
private function get_forceNativeNetworking() : Bool;
|
||||
private function get_networkDownVerificationUrl() : String;
|
||||
private function get_readSetCookieHeader() : Bool;
|
||||
private function get_useCookieHeaderForAllRequests() : Bool;
|
||||
private function set_appendRandomQueryParameter(value : String) : String;
|
||||
private function set_forceNativeNetworking(value : Bool) : Bool;
|
||||
private function set_networkDownVerificationUrl(value : String) : String;
|
||||
private function set_readSetCookieHeader(value : Bool) : Bool;
|
||||
private function set_useCookieHeaderForAllRequests(value : Bool) : Bool;
|
||||
}
|
25
Kha/Tools/linux_arm64/std/flash/media/AVPeriodInfo.hx
Normal file
25
Kha/Tools/linux_arm64/std/flash/media/AVPeriodInfo.hx
Normal file
@ -0,0 +1,25 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVPeriodInfo {
|
||||
@:flash.property var duration(get,never) : Float;
|
||||
@:flash.property var firstCuePointIndex(get,never) : Int;
|
||||
@:flash.property var firstSubscribedTagIndex(get,never) : Int;
|
||||
@:flash.property var lastCuePointIndex(get,never) : Int;
|
||||
@:flash.property var lastSubscribedTagIndex(get,never) : Int;
|
||||
@:flash.property var localStartTime(get,never) : Float;
|
||||
@:flash.property var supportsTrickPlay(get,never) : Bool;
|
||||
@:flash.property var targetDuration(get,never) : Float;
|
||||
@:flash.property var userData(get,never) : Int;
|
||||
@:flash.property var virtualStartTime(get,never) : Float;
|
||||
function new(init_localStartTime : Float, init_virtualStartTime : Float, init_duration : Float, init_firstCuePointIndex : Int, init_lastCuePointIndex : Int, init_firstSubscribedTagIndex : Int, init_lastSubscribedTagIndex : Int, init_userData : Int, init_supportsTrickPlay : Bool, init_targetDuration : Float) : Void;
|
||||
private function get_duration() : Float;
|
||||
private function get_firstCuePointIndex() : Int;
|
||||
private function get_firstSubscribedTagIndex() : Int;
|
||||
private function get_lastCuePointIndex() : Int;
|
||||
private function get_lastSubscribedTagIndex() : Int;
|
||||
private function get_localStartTime() : Float;
|
||||
private function get_supportsTrickPlay() : Bool;
|
||||
private function get_targetDuration() : Float;
|
||||
private function get_userData() : Int;
|
||||
private function get_virtualStartTime() : Float;
|
||||
}
|
16
Kha/Tools/linux_arm64/std/flash/media/AVPlayState.hx
Normal file
16
Kha/Tools/linux_arm64/std/flash/media/AVPlayState.hx
Normal file
@ -0,0 +1,16 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVPlayState {
|
||||
@:flash.property var state(get,never) : Int;
|
||||
function new(state : UInt) : Void;
|
||||
private function get_state() : Int;
|
||||
static final BUFFERING : Int;
|
||||
static final EOF : Int;
|
||||
static final PAUSED : Int;
|
||||
static final PLAYING : Int;
|
||||
static final READY : Int;
|
||||
static final SUSPENDED : Int;
|
||||
static final TRICK_PLAY : Int;
|
||||
static final UNINITIALIZED : Int;
|
||||
static final UNRECOVERABLE_ERROR : Int;
|
||||
}
|
108
Kha/Tools/linux_arm64/std/flash/media/AVResult.hx
Normal file
108
Kha/Tools/linux_arm64/std/flash/media/AVResult.hx
Normal file
@ -0,0 +1,108 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVResult {
|
||||
@:flash.property var result(get,never) : Int;
|
||||
function new(inResult : Int) : Void;
|
||||
private function get_result() : Int;
|
||||
static final ASYNC_OPERATION_IN_PROGRESS : Int;
|
||||
static final AUDIO_ONLY_STREAM_END : Int;
|
||||
static final AUDIO_ONLY_STREAM_START : Int;
|
||||
static final AUDIO_START_ERROR : Int;
|
||||
static final BAD_MANIFEST_SIGNATURE : Int;
|
||||
static final BAD_MEDIASAMPLE_FOUND : Int;
|
||||
static final BAD_MEDIA_INTERLEAVING : Int;
|
||||
static final CALLED_FROM_WRONG_THREAD : Int;
|
||||
static final CANNOT_ERASE_TIMELINE : Int;
|
||||
static final CANNOT_FAIL_OVER : Int;
|
||||
static final CANNOT_HANDLE_MAIN_MANIFEST_UPDATE : Int;
|
||||
static final CANNOT_LOAD_PLAY_LIST : Int;
|
||||
static final CANNOT_SPLIT_TIMELINE : Int;
|
||||
static final CODEC_NOT_SUPPORTED : Int;
|
||||
static final COMPONENT_CREATION_FAILURE : Int;
|
||||
static final CONTAINER_NOT_SUPPORTED : Int;
|
||||
static final CONTENT_LENGTH_MISMATCH : Int;
|
||||
static final CRYPTO_ALGORITHM_NOT_SUPPORTED : Int;
|
||||
static final CRYPTO_ERROR_BAD_CERTIFICATE : Int;
|
||||
static final CRYPTO_ERROR_BAD_PARAMETER : Int;
|
||||
static final CRYPTO_ERROR_BUFFER_TOO_SMALL : Int;
|
||||
static final CRYPTO_ERROR_CORRUPTED_DATA : Int;
|
||||
static final CRYPTO_ERROR_DIGEST_FINISH : Int;
|
||||
static final CRYPTO_ERROR_DIGEST_UPDATE : Int;
|
||||
static final CRYPTO_ERROR_UNKNOWN : Int;
|
||||
static final CURRENT_PERIOD_EXPIRED : Int;
|
||||
static final DECODER_FAILED : Int;
|
||||
static final DEVICE_OPEN_ERROR : Int;
|
||||
static final DID_NOT_GET_NEXT_FRAGMENT : Int;
|
||||
static final DRM_INIT_ERROR : Int;
|
||||
static final DRM_NOT_AVAILABLE : Int;
|
||||
static final END_OF_PERIOD : Int;
|
||||
static final EOF : Int;
|
||||
static final FILE_NOT_FOUND : Int;
|
||||
static final FILE_OPEN_ERROR : Int;
|
||||
static final FILE_READ_ERROR : Int;
|
||||
static final FILE_STRUCTURE_INVALID : Int;
|
||||
static final FILE_WRITE_ERROR : Int;
|
||||
static final FRAGMENT_READ_ERROR : Int;
|
||||
static final GENERIC_ERROR : Int;
|
||||
static final HTTP_TIME_OUT : Int;
|
||||
static final ID3_PARSE_ERROR : Int;
|
||||
static final INCOMPATIBLE_RENDER_MODE : Int;
|
||||
static final INCOMPATIBLE_VERSION : Int;
|
||||
static final INTERNAL_ERROR : Int;
|
||||
static final INVALID_KEY : Int;
|
||||
static final INVALID_OPERATION : Int;
|
||||
static final INVALID_PARAMETER : Int;
|
||||
static final INVALID_REPLACE_DURATION : Int;
|
||||
static final INVALID_SEEK_TIME : Int;
|
||||
static final INVALID_WITH_AUDIO_ONLY_FILE : Int;
|
||||
static final IRRECOVERABLE_ERROR : Int;
|
||||
static final KEY_NOT_FOUND : Int;
|
||||
static final KEY_SERVER_NOT_FOUND : Int;
|
||||
static final LISTENER_NOT_FOUND : Int;
|
||||
static final LIVE_HOLD : Int;
|
||||
static final LIVE_WINDOW_MOVED_BACKWARD : Int;
|
||||
static final LOST_CONNECTION_RECOVERABLE : Int;
|
||||
static final MAIN_MANIFEST_UPDATE_TO_BE_HANDLED : Int;
|
||||
static final MANIFEST_FILE_UNEXPECTEDLY_CHANGED : Int;
|
||||
static final NETWORK_DOWN : Int;
|
||||
static final NETWORK_ERROR : Int;
|
||||
static final NETWORK_UNAVAILABLE : Int;
|
||||
static final NOT_IMPLEMENTED : Int;
|
||||
static final NO_AUDIO_SINK : Int;
|
||||
static final NO_FIXED_SIZE : Int;
|
||||
static final NO_TIMELINE : Int;
|
||||
static final NO_USEABLE_BITRATE_PROFILE : Int;
|
||||
static final NULL_OPERATION : Int;
|
||||
static final ONLY_ALLOWED_IN_PAUSED_STATE : Int;
|
||||
static final OPERATION_ABORTED : Int;
|
||||
static final OUT_OF_MEMORY : Int;
|
||||
static final OVERFLOW : Int;
|
||||
static final PARSE_ERROR : Int;
|
||||
static final PARTIAL_REPLACEMENT : Int;
|
||||
static final PERIOD_HOLD : Int;
|
||||
static final PERIOD_NOT_LOADED : Int;
|
||||
static final PLAYBACK_NOT_ENABLED : Int;
|
||||
static final POSTROLL_WITH_LIVE_NOT_ALLOWED : Int;
|
||||
static final PREVIOUS_STEP_SEEK_IN_PROGRESS : Int;
|
||||
static final PROTOCOL_NOT_SUPPORTED : Int;
|
||||
static final RANGE_ERROR : Int;
|
||||
static final RANGE_SPANS_READHEAD : Int;
|
||||
static final RENDITION_M3U8_ERROR : Int;
|
||||
static final REPLACEMENT_FAILED : Int;
|
||||
static final RESOURCE_NOT_SPECIFIED : Int;
|
||||
static final SECURITY_ERROR : Int;
|
||||
static final SEEK_FAILED : Int;
|
||||
static final SEGMENT_SKIPPED_ON_FAILURE : Int;
|
||||
static final SIZE_UNKNOWN : Int;
|
||||
static final SPS_PPS_FOUND_OUTSIDE_AVCC : Int;
|
||||
static final SUCCESS : Int;
|
||||
static final SWITCH_TO_ASYMMETRIC_PROFILE : Int;
|
||||
static final TIMELINE_TOO_SHORT : Int;
|
||||
static final UNDERFLOW : Int;
|
||||
static final UNREPORTED_TIME_DISCONTINUITY_FOUND : Int;
|
||||
static final UNSUPPORTED_CONFIGURATION : Int;
|
||||
static final UNSUPPORTED_HLS_VERSION : Int;
|
||||
static final UNSUPPORTED_OPERATION : Int;
|
||||
static final VIDEO_PROFILE_NOT_SUPPORTED : Int;
|
||||
static final WAITING_FOR_INIT : Int;
|
||||
}
|
60
Kha/Tools/linux_arm64/std/flash/media/AVSegmentedSource.hx
Normal file
60
Kha/Tools/linux_arm64/std/flash/media/AVSegmentedSource.hx
Normal file
@ -0,0 +1,60 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVSegmentedSource extends AVSource {
|
||||
@:flash.property var cookieHeader(never,set) : String;
|
||||
@:flash.property var masterUpdateInterval(never,set) : Int;
|
||||
@:flash.property var networkingParams(get,set) : AVNetworkingParams;
|
||||
@:flash.property var useRedirectedUrl(never,set) : Bool;
|
||||
function new() : Void;
|
||||
function addCustomHeader(headerName : String, args : flash.Vector<String>) : Void;
|
||||
function clearPauseAtPeriodEnd(periodIndex : Int) : AVResult;
|
||||
function getABRProfileCount(periodIndex : Int) : Int;
|
||||
function getABRProfileInfoAtIndex(periodIndex : Int, abrProfileIndex : Int) : AVABRProfileInfo;
|
||||
function getBackgroundPeriodInfo(periodIndex : Int) : AVPeriodInfo;
|
||||
function getBackgroundTimeline() : AVTimeline;
|
||||
function getCuePoint(periodIndex : Int, cuePointIndex : Int) : AVCuePoint;
|
||||
function getMediaPreferredStartTime() : Float;
|
||||
function getPerceivedBandwidth() : UInt;
|
||||
function getPeriodInfo(periodIndex : Int) : AVPeriodInfo;
|
||||
function getPeriodInfoWithTagsAcrossIndexes(periodIndex : Int, startPeriodIndex : Int) : AVPeriodInfo;
|
||||
function getSubscribedTag(periodIndex : Int, tagDataIndex : Int) : AVTagData;
|
||||
function getSubscribedTagForBackgroundManifest(periodIndex : Int, tagDataIndex : Int) : AVTagData;
|
||||
function getTimeline() : AVTimeline;
|
||||
function getTimelineSubscribedTag(tagDataIndex : Int) : AVTagData;
|
||||
function getTimelineSubscribedTagForBackgroundManifest(tagDataIndex : Int) : AVTagData;
|
||||
function getTrackCount(periodIndex : Int, payloadType : String) : Int;
|
||||
function getTrackInfo(periodIndex : Int, payloadType : String, trackIndex : Int) : AVTrackInfo;
|
||||
private function get_networkingParams() : AVNetworkingParams;
|
||||
function insertByLocalTime(periodIndex : Int, insertionTime : Float, handle : Int, userData : Int = 0, replaceDuration : Float = 0) : AVInsertionResult;
|
||||
function insertByVirtualTime(insertionTime : Float, handle : Int, userData : Int = 0, replaceDuration : Float = 0) : AVInsertionResult;
|
||||
function load(url : String, ?containerType : String, userData : Int = 0) : AVResult;
|
||||
function loadManifest(uri : String, userData : Int = 0, ?containerType : String) : AVResult;
|
||||
function loadWithBackgroundManifest(url : String, containerType : String, userData : Int, backgroundManifest : String) : AVResult;
|
||||
function releaseManifest(handle : Int) : AVResult;
|
||||
function removeByLocalTime(periodIndex : Int, timeStart : Float, timeEnd : Float, replaceWithMainMedia : Bool) : AVResult;
|
||||
function removeByVirtualTime(virtualTimeStart : Float, virtualTimeEnd : Float) : AVResult;
|
||||
function removeByVirtualTimeWithReplacement(virtualTimeStart : Float, virtualTimeEnd : Float, replaceWithMainMedia : Bool) : AVResult;
|
||||
function selectTrack(periodIndex : Int, payloadType : String, trackIndex : Int) : AVResult;
|
||||
function selectTrackString(periodIndex : Int, payloadType : String, trackString : String) : AVResult;
|
||||
function setABRParameters(params : AVABRParameters) : AVResult;
|
||||
function setBandwidth(bitsPerSecond : Int) : AVResult;
|
||||
function setCuePointTags(tagArray : Array<Dynamic>) : AVResult;
|
||||
function setHoldAt(time : Float) : AVResult;
|
||||
function setPauseAtPeriodEnd(periodIndex : Int, userData : Int = 0) : AVResult;
|
||||
function setSubscribedTags(tagArray : Array<Dynamic>) : AVResult;
|
||||
function setSubscribedTagsForBackgroundManifest(tagArray : Array<Dynamic>) : AVResult;
|
||||
private function set_cookieHeader(value : String) : String;
|
||||
private function set_masterUpdateInterval(value : Int) : Int;
|
||||
private function set_networkingParams(value : AVNetworkingParams) : AVNetworkingParams;
|
||||
private function set_useRedirectedUrl(value : Bool) : Bool;
|
||||
static final AUDIO : String;
|
||||
static final AUDIO_DESCRIPTION : String;
|
||||
static final AUDIO_LANGUAGE : String;
|
||||
static final AUDIO_PID : String;
|
||||
static final DASH : String;
|
||||
static final DATA : String;
|
||||
static final DATA_DESCRIPTION : String;
|
||||
static final HLS : String;
|
||||
static final VIDEO : String;
|
||||
static final VIDEO_DESCRIPTION : String;
|
||||
}
|
6
Kha/Tools/linux_arm64/std/flash/media/AVSource.hx
Normal file
6
Kha/Tools/linux_arm64/std/flash/media/AVSource.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVSource extends flash.events.EventDispatcher {
|
||||
function new() : Void;
|
||||
function dispose() : Void;
|
||||
}
|
57
Kha/Tools/linux_arm64/std/flash/media/AVStream.hx
Normal file
57
Kha/Tools/linux_arm64/std/flash/media/AVStream.hx
Normal file
@ -0,0 +1,57 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVStream extends flash.events.EventDispatcher {
|
||||
@:flash.property var backBufferLength(get,never) : Float;
|
||||
@:flash.property var backBufferTime(never,set) : Float;
|
||||
@:flash.property var bufferLength(get,never) : Float;
|
||||
@:flash.property var bufferTime(never,set) : Float;
|
||||
@:flash.property var captionStyle(never,set) : AVCaptionStyle;
|
||||
@:flash.property var captionsEnabled(get,set) : Bool;
|
||||
@:flash.property var clientLivePoint(get,never) : Float;
|
||||
@:flash.property var currentFPS(get,never) : Float;
|
||||
@:flash.property var decoderType(get,never) : String;
|
||||
@:flash.property var droppedFrames(get,never) : Int;
|
||||
@:flash.property var frameTime(get,never) : Float;
|
||||
@:flash.property var initialBufferTime(never,set) : Float;
|
||||
@:flash.property var playState(get,never) : AVPlayState;
|
||||
@:flash.property var renderType(get,never) : String;
|
||||
@:flash.property var time(get,never) : Float;
|
||||
@:flash.property var useHardwareDecoder(get,set) : Bool;
|
||||
@:flash.property var volume(get,set) : Float;
|
||||
function new(source : AVSource) : Void;
|
||||
function dispose() : Void;
|
||||
function fastForward(rate : Float) : AVResult;
|
||||
private function get_backBufferLength() : Float;
|
||||
private function get_bufferLength() : Float;
|
||||
private function get_captionsEnabled() : Bool;
|
||||
private function get_clientLivePoint() : Float;
|
||||
private function get_currentFPS() : Float;
|
||||
private function get_decoderType() : String;
|
||||
private function get_droppedFrames() : Int;
|
||||
private function get_frameTime() : Float;
|
||||
private function get_playState() : AVPlayState;
|
||||
private function get_renderType() : String;
|
||||
private function get_time() : Float;
|
||||
private function get_useHardwareDecoder() : Bool;
|
||||
private function get_volume() : Float;
|
||||
function pause() : AVResult;
|
||||
function play() : AVResult;
|
||||
function resume() : Bool;
|
||||
function rewind(rate : Float) : AVResult;
|
||||
function seek(offset : Float, inBufferSeek : Bool = true) : AVResult;
|
||||
function seekToKeyFrame(offset : Float, inBufferSeek : Bool = true) : AVResult;
|
||||
function seekToLivePoint() : AVResult;
|
||||
function seekToLocalTime(periodIndex : Int, time : Float) : AVResult;
|
||||
function setPlaySpeed(speed : Float, reserved : Float) : Void;
|
||||
private function set_backBufferTime(value : Float) : Float;
|
||||
private function set_bufferTime(value : Float) : Float;
|
||||
private function set_captionStyle(value : AVCaptionStyle) : AVCaptionStyle;
|
||||
private function set_captionsEnabled(value : Bool) : Bool;
|
||||
private function set_initialBufferTime(value : Float) : Float;
|
||||
private function set_useHardwareDecoder(value : Bool) : Bool;
|
||||
private function set_volume(value : Float) : Float;
|
||||
function step(frames : Int) : AVResult;
|
||||
static final HARDWARE : String;
|
||||
static final SOFTWARE : String;
|
||||
static final UNDEFINED : String;
|
||||
}
|
9
Kha/Tools/linux_arm64/std/flash/media/AVTagData.hx
Normal file
9
Kha/Tools/linux_arm64/std/flash/media/AVTagData.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVTagData {
|
||||
@:flash.property var data(get,never) : String;
|
||||
@:flash.property var localTime(get,never) : Float;
|
||||
function new(init_data : String, init_localTime : Float) : Void;
|
||||
private function get_data() : String;
|
||||
private function get_localTime() : Float;
|
||||
}
|
21
Kha/Tools/linux_arm64/std/flash/media/AVTimeline.hx
Normal file
21
Kha/Tools/linux_arm64/std/flash/media/AVTimeline.hx
Normal file
@ -0,0 +1,21 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVTimeline {
|
||||
@:flash.property var complete(get,never) : Bool;
|
||||
@:flash.property var firstPeriodIndex(get,never) : Int;
|
||||
@:flash.property var firstSubscribedTagIndex(get,never) : Int;
|
||||
@:flash.property var lastPeriodIndex(get,never) : Int;
|
||||
@:flash.property var lastSubscribedTagIndex(get,never) : Int;
|
||||
@:flash.property var type(get,never) : String;
|
||||
@:flash.property var virtualDuration(get,never) : Float;
|
||||
@:flash.property var virtualStartTime(get,never) : Float;
|
||||
function new(init_type : String, init_virtualStartTime : Float, init_virtualDuration : Float, init_firstPeriodIndex : Int, init_lastPeriodIndex : Int, init_firstSubscribedIndex : Int, init_lastSubscribedIndex : Int, init_complete : Bool) : Void;
|
||||
private function get_complete() : Bool;
|
||||
private function get_firstPeriodIndex() : Int;
|
||||
private function get_firstSubscribedTagIndex() : Int;
|
||||
private function get_lastPeriodIndex() : Int;
|
||||
private function get_lastSubscribedTagIndex() : Int;
|
||||
private function get_type() : String;
|
||||
private function get_virtualDuration() : Float;
|
||||
private function get_virtualStartTime() : Float;
|
||||
}
|
24
Kha/Tools/linux_arm64/std/flash/media/AVTrackInfo.hx
Normal file
24
Kha/Tools/linux_arm64/std/flash/media/AVTrackInfo.hx
Normal file
@ -0,0 +1,24 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVTrackInfo {
|
||||
@:flash.property var activity(get,never) : Bool;
|
||||
@:flash.property var autoSelect(get,never) : Bool;
|
||||
@:flash.property var dataTrackInfoServiceType(get,never) : String;
|
||||
@:flash.property var defaultTrack(get,never) : Bool;
|
||||
@:flash.property var description(get,never) : String;
|
||||
@:flash.property var forced(get,never) : Bool;
|
||||
@:flash.property var language(get,never) : String;
|
||||
@:flash.property var pid(get,never) : Int;
|
||||
function new(init_description : String, init_language : String, init_defaultTrack : Bool, init_autoSelect : Bool, init_forced : Bool, init_activity : Bool, init_dataTrackInfoServiceType : String, init_pid : Int) : Void;
|
||||
private function get_activity() : Bool;
|
||||
private function get_autoSelect() : Bool;
|
||||
private function get_dataTrackInfoServiceType() : String;
|
||||
private function get_defaultTrack() : Bool;
|
||||
private function get_description() : String;
|
||||
private function get_forced() : Bool;
|
||||
private function get_language() : String;
|
||||
private function get_pid() : Int;
|
||||
static final DTI_608_CAPTIONS : String;
|
||||
static final DTI_708_CAPTIONS : String;
|
||||
static final DTI_WEBVTT_CAPTIONS : String;
|
||||
}
|
8
Kha/Tools/linux_arm64/std/flash/media/AVURLLoader.hx
Normal file
8
Kha/Tools/linux_arm64/std/flash/media/AVURLLoader.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVURLLoader extends flash.net.URLLoader {
|
||||
@:flash.property var cookieHeader(never,set) : String;
|
||||
var stream : AVURLStream;
|
||||
function new(?request : flash.net.URLRequest) : Void;
|
||||
private function set_cookieHeader(value : String) : String;
|
||||
}
|
7
Kha/Tools/linux_arm64/std/flash/media/AVURLStream.hx
Normal file
7
Kha/Tools/linux_arm64/std/flash/media/AVURLStream.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AVURLStream extends flash.net.URLStream {
|
||||
@:flash.property var cookieHeader(never,set) : String;
|
||||
function new() : Void;
|
||||
private function set_cookieHeader(value : String) : String;
|
||||
}
|
11
Kha/Tools/linux_arm64/std/flash/media/AudioDecoder.hx
Normal file
11
Kha/Tools/linux_arm64/std/flash/media/AudioDecoder.hx
Normal file
@ -0,0 +1,11 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AudioDecoder {
|
||||
function new() : Void;
|
||||
static final DOLBY_DIGITAL : String;
|
||||
static final DOLBY_DIGITAL_PLUS : String;
|
||||
static final DTS : String;
|
||||
static final DTS_EXPRESS : String;
|
||||
static final DTS_HD_HIGH_RESOLUTION_AUDIO : String;
|
||||
static final DTS_HD_MASTER_AUDIO : String;
|
||||
}
|
14
Kha/Tools/linux_arm64/std/flash/media/AudioDeviceManager.hx
Normal file
14
Kha/Tools/linux_arm64/std/flash/media/AudioDeviceManager.hx
Normal file
@ -0,0 +1,14 @@
|
||||
package flash.media;
|
||||
|
||||
extern final class AudioDeviceManager extends flash.events.EventDispatcher {
|
||||
@:flash.property var deviceNames(get,never) : Array<Dynamic>;
|
||||
@:flash.property var selectedDeviceIndex(get,set) : Int;
|
||||
function new() : Void;
|
||||
private function get_deviceNames() : Array<Dynamic>;
|
||||
private function get_selectedDeviceIndex() : Int;
|
||||
private function set_selectedDeviceIndex(value : Int) : Int;
|
||||
@:flash.property static var audioDeviceManager(get,never) : AudioDeviceManager;
|
||||
@:flash.property static var isSupported(get,never) : Bool;
|
||||
private static function get_audioDeviceManager() : AudioDeviceManager;
|
||||
private static function get_isSupported() : Bool;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package flash.media;
|
||||
|
||||
extern class AudioOutputChangeReason {
|
||||
function new() : Void;
|
||||
static final DEVICE_CHANGE : String;
|
||||
static final USER_SELECTION : String;
|
||||
}
|
50
Kha/Tools/linux_arm64/std/flash/media/Camera.hx
Normal file
50
Kha/Tools/linux_arm64/std/flash/media/Camera.hx
Normal file
@ -0,0 +1,50 @@
|
||||
package flash.media;
|
||||
|
||||
extern final class Camera extends flash.events.EventDispatcher {
|
||||
@:flash.property var activityLevel(get,never) : Float;
|
||||
@:flash.property var bandwidth(get,never) : Int;
|
||||
@:flash.property var currentFPS(get,never) : Float;
|
||||
@:flash.property var fps(get,never) : Float;
|
||||
@:flash.property var height(get,never) : Int;
|
||||
@:flash.property var index(get,never) : Int;
|
||||
@:flash.property var keyFrameInterval(get,never) : Int;
|
||||
@:flash.property var loopback(get,never) : Bool;
|
||||
@:flash.property var motionLevel(get,never) : Int;
|
||||
@:flash.property var motionTimeout(get,never) : Int;
|
||||
@:flash.property var muted(get,never) : Bool;
|
||||
@:flash.property var name(get,never) : String;
|
||||
@:flash.property @:require(flash11_2) var position(get,never) : String;
|
||||
@:flash.property var quality(get,never) : Int;
|
||||
@:flash.property var width(get,never) : Int;
|
||||
function new() : Void;
|
||||
@:require(flash11_4) function copyToByteArray(rect : flash.geom.Rectangle, destination : flash.utils.ByteArray) : Void;
|
||||
@:require(flash11_4) function copyToVector(rect : flash.geom.Rectangle, destination : flash.Vector<UInt>) : Void;
|
||||
@:require(flash11_4) function drawToBitmapData(destination : flash.display.BitmapData) : Void;
|
||||
private function get_activityLevel() : Float;
|
||||
private function get_bandwidth() : Int;
|
||||
private function get_currentFPS() : Float;
|
||||
private function get_fps() : Float;
|
||||
private function get_height() : Int;
|
||||
private function get_index() : Int;
|
||||
private function get_keyFrameInterval() : Int;
|
||||
private function get_loopback() : Bool;
|
||||
private function get_motionLevel() : Int;
|
||||
private function get_motionTimeout() : Int;
|
||||
private function get_muted() : Bool;
|
||||
private function get_name() : String;
|
||||
private function get_position() : String;
|
||||
private function get_quality() : Int;
|
||||
private function get_width() : Int;
|
||||
function setCursor(value : Bool) : Void;
|
||||
function setKeyFrameInterval(keyFrameInterval : Int) : Void;
|
||||
function setLoopback(compress : Bool = false) : Void;
|
||||
function setMode(width : Int, height : Int, fps : Float, favorArea : Bool = true) : Void;
|
||||
function setMotionLevel(motionLevel : Int, timeout : Int = 2000) : Void;
|
||||
function setQuality(bandwidth : Int, quality : Int) : Void;
|
||||
@:flash.property @:require(flash10_1) static var isSupported(get,never) : Bool;
|
||||
@:flash.property static var names(get,never) : Array<Dynamic>;
|
||||
@:ns("flash.media",internal) @:require(flash10_1) static function _scanHardware() : Void;
|
||||
static function getCamera(?name : String) : Camera;
|
||||
private static function get_isSupported() : Bool;
|
||||
private static function get_names() : Array<Dynamic>;
|
||||
}
|
21
Kha/Tools/linux_arm64/std/flash/media/H264Level.hx
Normal file
21
Kha/Tools/linux_arm64/std/flash/media/H264Level.hx
Normal file
@ -0,0 +1,21 @@
|
||||
package flash.media;
|
||||
|
||||
extern class H264Level {
|
||||
function new() : Void;
|
||||
static final LEVEL_1 : String;
|
||||
static final LEVEL_1B : String;
|
||||
static final LEVEL_1_1 : String;
|
||||
static final LEVEL_1_2 : String;
|
||||
static final LEVEL_1_3 : String;
|
||||
static final LEVEL_2 : String;
|
||||
static final LEVEL_2_1 : String;
|
||||
static final LEVEL_2_2 : String;
|
||||
static final LEVEL_3 : String;
|
||||
static final LEVEL_3_1 : String;
|
||||
static final LEVEL_3_2 : String;
|
||||
static final LEVEL_4 : String;
|
||||
static final LEVEL_4_1 : String;
|
||||
static final LEVEL_4_2 : String;
|
||||
static final LEVEL_5 : String;
|
||||
static final LEVEL_5_1 : String;
|
||||
}
|
7
Kha/Tools/linux_arm64/std/flash/media/H264Profile.hx
Normal file
7
Kha/Tools/linux_arm64/std/flash/media/H264Profile.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.media;
|
||||
|
||||
extern class H264Profile {
|
||||
function new() : Void;
|
||||
static final BASELINE : String;
|
||||
static final MAIN : String;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package flash.media;
|
||||
|
||||
extern class H264VideoStreamSettings extends VideoStreamSettings {
|
||||
@:flash.property var level(get,never) : String;
|
||||
@:flash.property var profile(get,never) : String;
|
||||
function new() : Void;
|
||||
private function get_level() : String;
|
||||
private function get_profile() : String;
|
||||
function setProfileLevel(profile : String, level : String) : Void;
|
||||
}
|
12
Kha/Tools/linux_arm64/std/flash/media/ID3Info.hx
Normal file
12
Kha/Tools/linux_arm64/std/flash/media/ID3Info.hx
Normal file
@ -0,0 +1,12 @@
|
||||
package flash.media;
|
||||
|
||||
extern final class ID3Info implements Dynamic {
|
||||
var album : String;
|
||||
var artist : String;
|
||||
var comment : String;
|
||||
var genre : String;
|
||||
var songName : String;
|
||||
var track : String;
|
||||
var year : String;
|
||||
function new() : Void;
|
||||
}
|
55
Kha/Tools/linux_arm64/std/flash/media/Microphone.hx
Normal file
55
Kha/Tools/linux_arm64/std/flash/media/Microphone.hx
Normal file
@ -0,0 +1,55 @@
|
||||
package flash.media;
|
||||
|
||||
extern final class Microphone extends flash.events.EventDispatcher {
|
||||
@:flash.property var activityLevel(get,never) : Float;
|
||||
@:flash.property @:require(flash10) var codec(get,set) : SoundCodec;
|
||||
@:flash.property @:require(flash10_1) var enableVAD(get,set) : Bool;
|
||||
@:flash.property @:require(flash10) var encodeQuality(get,set) : Int;
|
||||
@:flash.property @:require(flash10_2) var enhancedOptions(get,set) : MicrophoneEnhancedOptions;
|
||||
@:flash.property @:require(flash10) var framesPerPacket(get,set) : Int;
|
||||
@:flash.property var gain(get,set) : Float;
|
||||
@:flash.property var index(get,never) : Int;
|
||||
@:flash.property var muted(get,never) : Bool;
|
||||
@:flash.property var name(get,never) : String;
|
||||
@:flash.property @:require(flash10_1) var noiseSuppressionLevel(get,set) : Int;
|
||||
@:flash.property var rate(get,set) : Int;
|
||||
@:flash.property var silenceLevel(get,never) : Float;
|
||||
@:flash.property var silenceTimeout(get,never) : Int;
|
||||
@:flash.property var soundTransform(get,set) : SoundTransform;
|
||||
@:flash.property var useEchoSuppression(get,never) : Bool;
|
||||
function new() : Void;
|
||||
private function get_activityLevel() : Float;
|
||||
private function get_codec() : SoundCodec;
|
||||
private function get_enableVAD() : Bool;
|
||||
private function get_encodeQuality() : Int;
|
||||
private function get_enhancedOptions() : MicrophoneEnhancedOptions;
|
||||
private function get_framesPerPacket() : Int;
|
||||
private function get_gain() : Float;
|
||||
private function get_index() : Int;
|
||||
private function get_muted() : Bool;
|
||||
private function get_name() : String;
|
||||
private function get_noiseSuppressionLevel() : Int;
|
||||
private function get_rate() : Int;
|
||||
private function get_silenceLevel() : Float;
|
||||
private function get_silenceTimeout() : Int;
|
||||
private function get_soundTransform() : SoundTransform;
|
||||
private function get_useEchoSuppression() : Bool;
|
||||
function setLoopBack(state : Bool = true) : Void;
|
||||
function setSilenceLevel(silenceLevel : Float, timeout : Int = -1) : Void;
|
||||
function setUseEchoSuppression(useEchoSuppression : Bool) : Void;
|
||||
private function set_codec(value : SoundCodec) : SoundCodec;
|
||||
private function set_enableVAD(value : Bool) : Bool;
|
||||
private function set_encodeQuality(value : Int) : Int;
|
||||
private function set_enhancedOptions(value : MicrophoneEnhancedOptions) : MicrophoneEnhancedOptions;
|
||||
private function set_framesPerPacket(value : Int) : Int;
|
||||
private function set_gain(value : Float) : Float;
|
||||
private function set_noiseSuppressionLevel(value : Int) : Int;
|
||||
private function set_rate(value : Int) : Int;
|
||||
private function set_soundTransform(value : SoundTransform) : SoundTransform;
|
||||
@:flash.property @:require(flash10_1) static var isSupported(get,never) : Bool;
|
||||
@:flash.property static var names(get,never) : Array<Dynamic>;
|
||||
@:require(flash10_2) static function getEnhancedMicrophone(index : Int = -1) : Microphone;
|
||||
static function getMicrophone(index : Int = -1) : Microphone;
|
||||
private static function get_isSupported() : Bool;
|
||||
private static function get_names() : Array<Dynamic>;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package flash.media;
|
||||
|
||||
@:native("flash.media.MicrophoneEnhancedMode") @:require(flash10_2) extern enum abstract MicrophoneEnhancedMode(String) {
|
||||
var FULL_DUPLEX;
|
||||
var HALF_DUPLEX;
|
||||
var HEADSET;
|
||||
var OFF;
|
||||
var SPEAKER_MUTE;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package flash.media;
|
||||
|
||||
@:require(flash10_2) extern final class MicrophoneEnhancedOptions {
|
||||
@:flash.property var autoGain(get,set) : Bool;
|
||||
@:flash.property var echoPath(get,set) : Int;
|
||||
@:flash.property var isVoiceDetected(get,set) : Int;
|
||||
@:flash.property var mode(get,set) : MicrophoneEnhancedMode;
|
||||
@:flash.property var nonLinearProcessing(get,set) : Bool;
|
||||
function new() : Void;
|
||||
private function get_autoGain() : Bool;
|
||||
private function get_echoPath() : Int;
|
||||
private function get_isVoiceDetected() : Int;
|
||||
private function get_mode() : MicrophoneEnhancedMode;
|
||||
private function get_nonLinearProcessing() : Bool;
|
||||
private function set_autoGain(value : Bool) : Bool;
|
||||
private function set_echoPath(value : Int) : Int;
|
||||
private function set_isVoiceDetected(value : Int) : Int;
|
||||
private function set_mode(value : MicrophoneEnhancedMode) : MicrophoneEnhancedMode;
|
||||
private function set_nonLinearProcessing(value : Bool) : Bool;
|
||||
}
|
25
Kha/Tools/linux_arm64/std/flash/media/Sound.hx
Normal file
25
Kha/Tools/linux_arm64/std/flash/media/Sound.hx
Normal file
@ -0,0 +1,25 @@
|
||||
package flash.media;
|
||||
|
||||
extern class Sound extends flash.events.EventDispatcher {
|
||||
@:flash.property var bytesLoaded(get,never) : UInt;
|
||||
@:flash.property var bytesTotal(get,never) : Int;
|
||||
@:flash.property var id3(get,never) : ID3Info;
|
||||
@:flash.property var isBuffering(get,never) : Bool;
|
||||
@:flash.property @:require(flash10_1) var isURLInaccessible(get,never) : Bool;
|
||||
@:flash.property var length(get,never) : Float;
|
||||
@:flash.property var url(get,never) : String;
|
||||
function new(?stream : flash.net.URLRequest, ?context : SoundLoaderContext) : Void;
|
||||
function close() : Void;
|
||||
@:require(flash10) function extract(target : flash.utils.ByteArray, length : Float, startPosition : Float = -1) : Float;
|
||||
private function get_bytesLoaded() : UInt;
|
||||
private function get_bytesTotal() : Int;
|
||||
private function get_id3() : ID3Info;
|
||||
private function get_isBuffering() : Bool;
|
||||
private function get_isURLInaccessible() : Bool;
|
||||
private function get_length() : Float;
|
||||
private function get_url() : String;
|
||||
function load(stream : flash.net.URLRequest, ?context : SoundLoaderContext) : Void;
|
||||
@:require(flash11) function loadCompressedDataFromByteArray(bytes : flash.utils.ByteArray, bytesLength : UInt) : Void;
|
||||
@:require(flash11) function loadPCMFromByteArray(bytes : flash.utils.ByteArray, samples : UInt, ?format : String, stereo : Bool = true, sampleRate : Float = 44100) : Void;
|
||||
function play(startTime : Float = 0, loops : Int = 0, ?sndTransform : SoundTransform) : SoundChannel;
|
||||
}
|
15
Kha/Tools/linux_arm64/std/flash/media/SoundChannel.hx
Normal file
15
Kha/Tools/linux_arm64/std/flash/media/SoundChannel.hx
Normal file
@ -0,0 +1,15 @@
|
||||
package flash.media;
|
||||
|
||||
extern final class SoundChannel extends flash.events.EventDispatcher {
|
||||
@:flash.property var leftPeak(get,never) : Float;
|
||||
@:flash.property var position(get,never) : Float;
|
||||
@:flash.property var rightPeak(get,never) : Float;
|
||||
@:flash.property var soundTransform(get,set) : SoundTransform;
|
||||
function new() : Void;
|
||||
private function get_leftPeak() : Float;
|
||||
private function get_position() : Float;
|
||||
private function get_rightPeak() : Float;
|
||||
private function get_soundTransform() : SoundTransform;
|
||||
private function set_soundTransform(value : SoundTransform) : SoundTransform;
|
||||
function stop() : Void;
|
||||
}
|
8
Kha/Tools/linux_arm64/std/flash/media/SoundCodec.hx
Normal file
8
Kha/Tools/linux_arm64/std/flash/media/SoundCodec.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.media;
|
||||
|
||||
@:native("flash.media.SoundCodec") extern enum abstract SoundCodec(String) {
|
||||
var NELLYMOSER;
|
||||
var PCMA;
|
||||
var PCMU;
|
||||
var SPEEX;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package flash.media;
|
||||
|
||||
extern class SoundLoaderContext {
|
||||
var bufferTime : Float;
|
||||
var checkPolicyFile : Bool;
|
||||
function new(bufferTime : Float = 1000, checkPolicyFile : Bool = false) : Void;
|
||||
}
|
19
Kha/Tools/linux_arm64/std/flash/media/SoundMixer.hx
Normal file
19
Kha/Tools/linux_arm64/std/flash/media/SoundMixer.hx
Normal file
@ -0,0 +1,19 @@
|
||||
package flash.media;
|
||||
|
||||
extern class SoundMixer {
|
||||
@:flash.property static var audioPlaybackMode(get,set) : String;
|
||||
@:flash.property static var bufferTime(get,set) : Int;
|
||||
@:flash.property static var soundTransform(get,set) : SoundTransform;
|
||||
@:flash.property static var useSpeakerphoneForVoice(get,set) : Bool;
|
||||
static function areSoundsInaccessible() : Bool;
|
||||
static function computeSpectrum(outputArray : flash.utils.ByteArray, FFTMode : Bool = false, stretchFactor : Int = 0) : Void;
|
||||
private static function get_audioPlaybackMode() : String;
|
||||
private static function get_bufferTime() : Int;
|
||||
private static function get_soundTransform() : SoundTransform;
|
||||
private static function get_useSpeakerphoneForVoice() : Bool;
|
||||
private static function set_audioPlaybackMode(value : String) : String;
|
||||
private static function set_bufferTime(value : Int) : Int;
|
||||
private static function set_soundTransform(value : SoundTransform) : SoundTransform;
|
||||
private static function set_useSpeakerphoneForVoice(value : Bool) : Bool;
|
||||
static function stopAll() : Void;
|
||||
}
|
23
Kha/Tools/linux_arm64/std/flash/media/SoundTransform.hx
Normal file
23
Kha/Tools/linux_arm64/std/flash/media/SoundTransform.hx
Normal file
@ -0,0 +1,23 @@
|
||||
package flash.media;
|
||||
|
||||
extern final class SoundTransform {
|
||||
@:flash.property var leftToLeft(get,set) : Float;
|
||||
@:flash.property var leftToRight(get,set) : Float;
|
||||
@:flash.property var pan(get,set) : Float;
|
||||
@:flash.property var rightToLeft(get,set) : Float;
|
||||
@:flash.property var rightToRight(get,set) : Float;
|
||||
@:flash.property var volume(get,set) : Float;
|
||||
function new(vol : Float = 1, panning : Float = 0) : Void;
|
||||
private function get_leftToLeft() : Float;
|
||||
private function get_leftToRight() : Float;
|
||||
private function get_pan() : Float;
|
||||
private function get_rightToLeft() : Float;
|
||||
private function get_rightToRight() : Float;
|
||||
private function get_volume() : Float;
|
||||
private function set_leftToLeft(value : Float) : Float;
|
||||
private function set_leftToRight(value : Float) : Float;
|
||||
private function set_pan(value : Float) : Float;
|
||||
private function set_rightToLeft(value : Float) : Float;
|
||||
private function set_rightToRight(value : Float) : Float;
|
||||
private function set_volume(value : Float) : Float;
|
||||
}
|
26
Kha/Tools/linux_arm64/std/flash/media/StageVideo.hx
Normal file
26
Kha/Tools/linux_arm64/std/flash/media/StageVideo.hx
Normal file
@ -0,0 +1,26 @@
|
||||
package flash.media;
|
||||
|
||||
@:require(flash10_2) extern class StageVideo extends flash.events.EventDispatcher {
|
||||
@:flash.property var colorSpaces(get,never) : flash.Vector<String>;
|
||||
@:flash.property var depth(get,set) : Int;
|
||||
@:flash.property var pan(get,set) : flash.geom.Point;
|
||||
@:flash.property var videoHeight(get,never) : Int;
|
||||
@:flash.property var videoWidth(get,never) : Int;
|
||||
@:flash.property var viewPort(get,set) : flash.geom.Rectangle;
|
||||
@:flash.property var zoom(get,set) : flash.geom.Point;
|
||||
function new() : Void;
|
||||
@:require(flash11_7) function attachAVStream(avStream : AVStream) : Void;
|
||||
@:require(flash11_4) function attachCamera(theCamera : Camera) : Void;
|
||||
function attachNetStream(netStream : flash.net.NetStream) : Void;
|
||||
private function get_colorSpaces() : flash.Vector<String>;
|
||||
private function get_depth() : Int;
|
||||
private function get_pan() : flash.geom.Point;
|
||||
private function get_videoHeight() : Int;
|
||||
private function get_videoWidth() : Int;
|
||||
private function get_viewPort() : flash.geom.Rectangle;
|
||||
private function get_zoom() : flash.geom.Point;
|
||||
private function set_depth(value : Int) : Int;
|
||||
private function set_pan(value : flash.geom.Point) : flash.geom.Point;
|
||||
private function set_viewPort(value : flash.geom.Rectangle) : flash.geom.Rectangle;
|
||||
private function set_zoom(value : flash.geom.Point) : flash.geom.Point;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package flash.media;
|
||||
|
||||
extern class StageVideoAvailability {
|
||||
function new() : Void;
|
||||
static final AVAILABLE : String;
|
||||
static final UNAVAILABLE : String;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package flash.media;
|
||||
|
||||
extern class StageVideoAvailabilityReason {
|
||||
function new() : Void;
|
||||
static final DRIVER_TOO_OLD : String;
|
||||
static final NO_ERROR : String;
|
||||
static final UNAVAILABLE : String;
|
||||
static final USER_DISABLED : String;
|
||||
static final WMODE_INCOMPATIBLE : String;
|
||||
}
|
18
Kha/Tools/linux_arm64/std/flash/media/Video.hx
Normal file
18
Kha/Tools/linux_arm64/std/flash/media/Video.hx
Normal file
@ -0,0 +1,18 @@
|
||||
package flash.media;
|
||||
|
||||
extern class Video extends flash.display.DisplayObject {
|
||||
@:flash.property var deblocking(get,set) : Int;
|
||||
@:flash.property var smoothing(get,set) : Bool;
|
||||
@:flash.property var videoHeight(get,never) : Int;
|
||||
@:flash.property var videoWidth(get,never) : Int;
|
||||
function new(width : Int = 320, height : Int = 240) : Void;
|
||||
function attachCamera(camera : Camera) : Void;
|
||||
function attachNetStream(netStream : flash.net.NetStream) : Void;
|
||||
function clear() : Void;
|
||||
private function get_deblocking() : Int;
|
||||
private function get_smoothing() : Bool;
|
||||
private function get_videoHeight() : Int;
|
||||
private function get_videoWidth() : Int;
|
||||
private function set_deblocking(value : Int) : Int;
|
||||
private function set_smoothing(value : Bool) : Bool;
|
||||
}
|
8
Kha/Tools/linux_arm64/std/flash/media/VideoCodec.hx
Normal file
8
Kha/Tools/linux_arm64/std/flash/media/VideoCodec.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.media;
|
||||
|
||||
extern class VideoCodec {
|
||||
function new() : Void;
|
||||
static final H264AVC : String;
|
||||
static final SORENSON : String;
|
||||
static final VP6 : String;
|
||||
}
|
8
Kha/Tools/linux_arm64/std/flash/media/VideoStatus.hx
Normal file
8
Kha/Tools/linux_arm64/std/flash/media/VideoStatus.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package flash.media;
|
||||
|
||||
extern class VideoStatus {
|
||||
function new() : Void;
|
||||
static final ACCELERATED : String;
|
||||
static final SOFTWARE : String;
|
||||
static final UNAVAILABLE : String;
|
||||
}
|
22
Kha/Tools/linux_arm64/std/flash/media/VideoStreamSettings.hx
Normal file
22
Kha/Tools/linux_arm64/std/flash/media/VideoStreamSettings.hx
Normal file
@ -0,0 +1,22 @@
|
||||
package flash.media;
|
||||
|
||||
extern class VideoStreamSettings {
|
||||
@:flash.property var bandwidth(get,never) : Int;
|
||||
@:flash.property var codec(get,never) : String;
|
||||
@:flash.property var fps(get,never) : Float;
|
||||
@:flash.property var height(get,never) : Int;
|
||||
@:flash.property var keyFrameInterval(get,never) : Int;
|
||||
@:flash.property var quality(get,never) : Int;
|
||||
@:flash.property var width(get,never) : Int;
|
||||
function new() : Void;
|
||||
private function get_bandwidth() : Int;
|
||||
private function get_codec() : String;
|
||||
private function get_fps() : Float;
|
||||
private function get_height() : Int;
|
||||
private function get_keyFrameInterval() : Int;
|
||||
private function get_quality() : Int;
|
||||
private function get_width() : Int;
|
||||
function setKeyFrameInterval(keyFrameInterval : Int) : Void;
|
||||
function setMode(width : Int, height : Int, fps : Float) : Void;
|
||||
function setQuality(bandwidth : Int, quality : Int) : Void;
|
||||
}
|
Reference in New Issue
Block a user