github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/bindings/import09_wasm.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build wasm
     5  
     6  package bindings
     7  
     8  import (
     9  	"unsafe"
    10  
    11  	"github.com/primecitizens/pcz/std/ffi/js"
    12  )
    13  
    14  type (
    15  	_ unsafe.Pointer
    16  	_ js.Ref
    17  )
    18  
    19  //go:wasmimport plat/js/web get_MediaStreamTrack_Kind
    20  //go:noescape
    21  func GetMediaStreamTrackKind(
    22  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    23  
    24  //go:wasmimport plat/js/web get_MediaStreamTrack_Id
    25  //go:noescape
    26  func GetMediaStreamTrackId(
    27  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    28  
    29  //go:wasmimport plat/js/web get_MediaStreamTrack_Label
    30  //go:noescape
    31  func GetMediaStreamTrackLabel(
    32  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    33  
    34  //go:wasmimport plat/js/web get_MediaStreamTrack_Enabled
    35  //go:noescape
    36  func GetMediaStreamTrackEnabled(
    37  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    38  
    39  //go:wasmimport plat/js/web set_MediaStreamTrack_Enabled
    40  //go:noescape
    41  func SetMediaStreamTrackEnabled(
    42  	this js.Ref,
    43  	val js.Ref,
    44  ) js.Ref
    45  
    46  //go:wasmimport plat/js/web get_MediaStreamTrack_Muted
    47  //go:noescape
    48  func GetMediaStreamTrackMuted(
    49  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    50  
    51  //go:wasmimport plat/js/web get_MediaStreamTrack_ReadyState
    52  //go:noescape
    53  func GetMediaStreamTrackReadyState(
    54  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    55  
    56  //go:wasmimport plat/js/web get_MediaStreamTrack_ContentHint
    57  //go:noescape
    58  func GetMediaStreamTrackContentHint(
    59  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    60  
    61  //go:wasmimport plat/js/web set_MediaStreamTrack_ContentHint
    62  //go:noescape
    63  func SetMediaStreamTrackContentHint(
    64  	this js.Ref,
    65  	val js.Ref,
    66  ) js.Ref
    67  
    68  //go:wasmimport plat/js/web get_MediaStreamTrack_Isolated
    69  //go:noescape
    70  func GetMediaStreamTrackIsolated(
    71  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
    72  
    73  //go:wasmimport plat/js/web has_MediaStreamTrack_Clone
    74  //go:noescape
    75  func HasFuncMediaStreamTrackClone(this js.Ref) js.Ref
    76  
    77  //go:wasmimport plat/js/web func_MediaStreamTrack_Clone
    78  //go:noescape
    79  func FuncMediaStreamTrackClone(this js.Ref, fn unsafe.Pointer)
    80  
    81  //go:wasmimport plat/js/web call_MediaStreamTrack_Clone
    82  //go:noescape
    83  func CallMediaStreamTrackClone(
    84  	this js.Ref, retPtr unsafe.Pointer)
    85  
    86  //go:wasmimport plat/js/web try_MediaStreamTrack_Clone
    87  //go:noescape
    88  func TryMediaStreamTrackClone(
    89  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
    90  
    91  //go:wasmimport plat/js/web has_MediaStreamTrack_Stop
    92  //go:noescape
    93  func HasFuncMediaStreamTrackStop(this js.Ref) js.Ref
    94  
    95  //go:wasmimport plat/js/web func_MediaStreamTrack_Stop
    96  //go:noescape
    97  func FuncMediaStreamTrackStop(this js.Ref, fn unsafe.Pointer)
    98  
    99  //go:wasmimport plat/js/web call_MediaStreamTrack_Stop
   100  //go:noescape
   101  func CallMediaStreamTrackStop(
   102  	this js.Ref, retPtr unsafe.Pointer)
   103  
   104  //go:wasmimport plat/js/web try_MediaStreamTrack_Stop
   105  //go:noescape
   106  func TryMediaStreamTrackStop(
   107  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   108  
   109  //go:wasmimport plat/js/web has_MediaStreamTrack_GetCapabilities
   110  //go:noescape
   111  func HasFuncMediaStreamTrackGetCapabilities(this js.Ref) js.Ref
   112  
   113  //go:wasmimport plat/js/web func_MediaStreamTrack_GetCapabilities
   114  //go:noescape
   115  func FuncMediaStreamTrackGetCapabilities(this js.Ref, fn unsafe.Pointer)
   116  
   117  //go:wasmimport plat/js/web call_MediaStreamTrack_GetCapabilities
   118  //go:noescape
   119  func CallMediaStreamTrackGetCapabilities(
   120  	this js.Ref, retPtr unsafe.Pointer)
   121  
   122  //go:wasmimport plat/js/web try_MediaStreamTrack_GetCapabilities
   123  //go:noescape
   124  func TryMediaStreamTrackGetCapabilities(
   125  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   126  
   127  //go:wasmimport plat/js/web has_MediaStreamTrack_GetConstraints
   128  //go:noescape
   129  func HasFuncMediaStreamTrackGetConstraints(this js.Ref) js.Ref
   130  
   131  //go:wasmimport plat/js/web func_MediaStreamTrack_GetConstraints
   132  //go:noescape
   133  func FuncMediaStreamTrackGetConstraints(this js.Ref, fn unsafe.Pointer)
   134  
   135  //go:wasmimport plat/js/web call_MediaStreamTrack_GetConstraints
   136  //go:noescape
   137  func CallMediaStreamTrackGetConstraints(
   138  	this js.Ref, retPtr unsafe.Pointer)
   139  
   140  //go:wasmimport plat/js/web try_MediaStreamTrack_GetConstraints
   141  //go:noescape
   142  func TryMediaStreamTrackGetConstraints(
   143  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   144  
   145  //go:wasmimport plat/js/web has_MediaStreamTrack_GetSettings
   146  //go:noescape
   147  func HasFuncMediaStreamTrackGetSettings(this js.Ref) js.Ref
   148  
   149  //go:wasmimport plat/js/web func_MediaStreamTrack_GetSettings
   150  //go:noescape
   151  func FuncMediaStreamTrackGetSettings(this js.Ref, fn unsafe.Pointer)
   152  
   153  //go:wasmimport plat/js/web call_MediaStreamTrack_GetSettings
   154  //go:noescape
   155  func CallMediaStreamTrackGetSettings(
   156  	this js.Ref, retPtr unsafe.Pointer)
   157  
   158  //go:wasmimport plat/js/web try_MediaStreamTrack_GetSettings
   159  //go:noescape
   160  func TryMediaStreamTrackGetSettings(
   161  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   162  
   163  //go:wasmimport plat/js/web has_MediaStreamTrack_ApplyConstraints
   164  //go:noescape
   165  func HasFuncMediaStreamTrackApplyConstraints(this js.Ref) js.Ref
   166  
   167  //go:wasmimport plat/js/web func_MediaStreamTrack_ApplyConstraints
   168  //go:noescape
   169  func FuncMediaStreamTrackApplyConstraints(this js.Ref, fn unsafe.Pointer)
   170  
   171  //go:wasmimport plat/js/web call_MediaStreamTrack_ApplyConstraints
   172  //go:noescape
   173  func CallMediaStreamTrackApplyConstraints(
   174  	this js.Ref, retPtr unsafe.Pointer,
   175  	constraints unsafe.Pointer)
   176  
   177  //go:wasmimport plat/js/web try_MediaStreamTrack_ApplyConstraints
   178  //go:noescape
   179  func TryMediaStreamTrackApplyConstraints(
   180  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   181  	constraints unsafe.Pointer) (ok js.Ref)
   182  
   183  //go:wasmimport plat/js/web has_MediaStreamTrack_ApplyConstraints1
   184  //go:noescape
   185  func HasFuncMediaStreamTrackApplyConstraints1(this js.Ref) js.Ref
   186  
   187  //go:wasmimport plat/js/web func_MediaStreamTrack_ApplyConstraints1
   188  //go:noescape
   189  func FuncMediaStreamTrackApplyConstraints1(this js.Ref, fn unsafe.Pointer)
   190  
   191  //go:wasmimport plat/js/web call_MediaStreamTrack_ApplyConstraints1
   192  //go:noescape
   193  func CallMediaStreamTrackApplyConstraints1(
   194  	this js.Ref, retPtr unsafe.Pointer)
   195  
   196  //go:wasmimport plat/js/web try_MediaStreamTrack_ApplyConstraints1
   197  //go:noescape
   198  func TryMediaStreamTrackApplyConstraints1(
   199  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   200  
   201  //go:wasmimport plat/js/web has_MediaStreamTrack_GetSupportedCaptureActions
   202  //go:noescape
   203  func HasFuncMediaStreamTrackGetSupportedCaptureActions(this js.Ref) js.Ref
   204  
   205  //go:wasmimport plat/js/web func_MediaStreamTrack_GetSupportedCaptureActions
   206  //go:noescape
   207  func FuncMediaStreamTrackGetSupportedCaptureActions(this js.Ref, fn unsafe.Pointer)
   208  
   209  //go:wasmimport plat/js/web call_MediaStreamTrack_GetSupportedCaptureActions
   210  //go:noescape
   211  func CallMediaStreamTrackGetSupportedCaptureActions(
   212  	this js.Ref, retPtr unsafe.Pointer)
   213  
   214  //go:wasmimport plat/js/web try_MediaStreamTrack_GetSupportedCaptureActions
   215  //go:noescape
   216  func TryMediaStreamTrackGetSupportedCaptureActions(
   217  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   218  
   219  //go:wasmimport plat/js/web has_MediaStreamTrack_SendCaptureAction
   220  //go:noescape
   221  func HasFuncMediaStreamTrackSendCaptureAction(this js.Ref) js.Ref
   222  
   223  //go:wasmimport plat/js/web func_MediaStreamTrack_SendCaptureAction
   224  //go:noescape
   225  func FuncMediaStreamTrackSendCaptureAction(this js.Ref, fn unsafe.Pointer)
   226  
   227  //go:wasmimport plat/js/web call_MediaStreamTrack_SendCaptureAction
   228  //go:noescape
   229  func CallMediaStreamTrackSendCaptureAction(
   230  	this js.Ref, retPtr unsafe.Pointer,
   231  	action uint32)
   232  
   233  //go:wasmimport plat/js/web try_MediaStreamTrack_SendCaptureAction
   234  //go:noescape
   235  func TryMediaStreamTrackSendCaptureAction(
   236  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   237  	action uint32) (ok js.Ref)
   238  
   239  //go:wasmimport plat/js/web has_MediaStreamTrack_GetCaptureHandle
   240  //go:noescape
   241  func HasFuncMediaStreamTrackGetCaptureHandle(this js.Ref) js.Ref
   242  
   243  //go:wasmimport plat/js/web func_MediaStreamTrack_GetCaptureHandle
   244  //go:noescape
   245  func FuncMediaStreamTrackGetCaptureHandle(this js.Ref, fn unsafe.Pointer)
   246  
   247  //go:wasmimport plat/js/web call_MediaStreamTrack_GetCaptureHandle
   248  //go:noescape
   249  func CallMediaStreamTrackGetCaptureHandle(
   250  	this js.Ref, retPtr unsafe.Pointer)
   251  
   252  //go:wasmimport plat/js/web try_MediaStreamTrack_GetCaptureHandle
   253  //go:noescape
   254  func TryMediaStreamTrackGetCaptureHandle(
   255  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   256  
   257  //go:wasmimport plat/js/web new_MediaStream_MediaStream
   258  //go:noescape
   259  func NewMediaStreamByMediaStream(
   260  	stream js.Ref) js.Ref
   261  
   262  //go:wasmimport plat/js/web new_MediaStream_MediaStream1
   263  //go:noescape
   264  func NewMediaStreamByMediaStream1(
   265  	tracks js.Ref) js.Ref
   266  
   267  //go:wasmimport plat/js/web get_MediaStream_Id
   268  //go:noescape
   269  func GetMediaStreamId(
   270  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   271  
   272  //go:wasmimport plat/js/web get_MediaStream_Active
   273  //go:noescape
   274  func GetMediaStreamActive(
   275  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   276  
   277  //go:wasmimport plat/js/web has_MediaStream_GetAudioTracks
   278  //go:noescape
   279  func HasFuncMediaStreamGetAudioTracks(this js.Ref) js.Ref
   280  
   281  //go:wasmimport plat/js/web func_MediaStream_GetAudioTracks
   282  //go:noescape
   283  func FuncMediaStreamGetAudioTracks(this js.Ref, fn unsafe.Pointer)
   284  
   285  //go:wasmimport plat/js/web call_MediaStream_GetAudioTracks
   286  //go:noescape
   287  func CallMediaStreamGetAudioTracks(
   288  	this js.Ref, retPtr unsafe.Pointer)
   289  
   290  //go:wasmimport plat/js/web try_MediaStream_GetAudioTracks
   291  //go:noescape
   292  func TryMediaStreamGetAudioTracks(
   293  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   294  
   295  //go:wasmimport plat/js/web has_MediaStream_GetVideoTracks
   296  //go:noescape
   297  func HasFuncMediaStreamGetVideoTracks(this js.Ref) js.Ref
   298  
   299  //go:wasmimport plat/js/web func_MediaStream_GetVideoTracks
   300  //go:noescape
   301  func FuncMediaStreamGetVideoTracks(this js.Ref, fn unsafe.Pointer)
   302  
   303  //go:wasmimport plat/js/web call_MediaStream_GetVideoTracks
   304  //go:noescape
   305  func CallMediaStreamGetVideoTracks(
   306  	this js.Ref, retPtr unsafe.Pointer)
   307  
   308  //go:wasmimport plat/js/web try_MediaStream_GetVideoTracks
   309  //go:noescape
   310  func TryMediaStreamGetVideoTracks(
   311  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   312  
   313  //go:wasmimport plat/js/web has_MediaStream_GetTracks
   314  //go:noescape
   315  func HasFuncMediaStreamGetTracks(this js.Ref) js.Ref
   316  
   317  //go:wasmimport plat/js/web func_MediaStream_GetTracks
   318  //go:noescape
   319  func FuncMediaStreamGetTracks(this js.Ref, fn unsafe.Pointer)
   320  
   321  //go:wasmimport plat/js/web call_MediaStream_GetTracks
   322  //go:noescape
   323  func CallMediaStreamGetTracks(
   324  	this js.Ref, retPtr unsafe.Pointer)
   325  
   326  //go:wasmimport plat/js/web try_MediaStream_GetTracks
   327  //go:noescape
   328  func TryMediaStreamGetTracks(
   329  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   330  
   331  //go:wasmimport plat/js/web has_MediaStream_GetTrackById
   332  //go:noescape
   333  func HasFuncMediaStreamGetTrackById(this js.Ref) js.Ref
   334  
   335  //go:wasmimport plat/js/web func_MediaStream_GetTrackById
   336  //go:noescape
   337  func FuncMediaStreamGetTrackById(this js.Ref, fn unsafe.Pointer)
   338  
   339  //go:wasmimport plat/js/web call_MediaStream_GetTrackById
   340  //go:noescape
   341  func CallMediaStreamGetTrackById(
   342  	this js.Ref, retPtr unsafe.Pointer,
   343  	trackId js.Ref)
   344  
   345  //go:wasmimport plat/js/web try_MediaStream_GetTrackById
   346  //go:noescape
   347  func TryMediaStreamGetTrackById(
   348  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   349  	trackId js.Ref) (ok js.Ref)
   350  
   351  //go:wasmimport plat/js/web has_MediaStream_AddTrack
   352  //go:noescape
   353  func HasFuncMediaStreamAddTrack(this js.Ref) js.Ref
   354  
   355  //go:wasmimport plat/js/web func_MediaStream_AddTrack
   356  //go:noescape
   357  func FuncMediaStreamAddTrack(this js.Ref, fn unsafe.Pointer)
   358  
   359  //go:wasmimport plat/js/web call_MediaStream_AddTrack
   360  //go:noescape
   361  func CallMediaStreamAddTrack(
   362  	this js.Ref, retPtr unsafe.Pointer,
   363  	track js.Ref)
   364  
   365  //go:wasmimport plat/js/web try_MediaStream_AddTrack
   366  //go:noescape
   367  func TryMediaStreamAddTrack(
   368  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   369  	track js.Ref) (ok js.Ref)
   370  
   371  //go:wasmimport plat/js/web has_MediaStream_RemoveTrack
   372  //go:noescape
   373  func HasFuncMediaStreamRemoveTrack(this js.Ref) js.Ref
   374  
   375  //go:wasmimport plat/js/web func_MediaStream_RemoveTrack
   376  //go:noescape
   377  func FuncMediaStreamRemoveTrack(this js.Ref, fn unsafe.Pointer)
   378  
   379  //go:wasmimport plat/js/web call_MediaStream_RemoveTrack
   380  //go:noescape
   381  func CallMediaStreamRemoveTrack(
   382  	this js.Ref, retPtr unsafe.Pointer,
   383  	track js.Ref)
   384  
   385  //go:wasmimport plat/js/web try_MediaStream_RemoveTrack
   386  //go:noescape
   387  func TryMediaStreamRemoveTrack(
   388  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   389  	track js.Ref) (ok js.Ref)
   390  
   391  //go:wasmimport plat/js/web has_MediaStream_Clone
   392  //go:noescape
   393  func HasFuncMediaStreamClone(this js.Ref) js.Ref
   394  
   395  //go:wasmimport plat/js/web func_MediaStream_Clone
   396  //go:noescape
   397  func FuncMediaStreamClone(this js.Ref, fn unsafe.Pointer)
   398  
   399  //go:wasmimport plat/js/web call_MediaStream_Clone
   400  //go:noescape
   401  func CallMediaStreamClone(
   402  	this js.Ref, retPtr unsafe.Pointer)
   403  
   404  //go:wasmimport plat/js/web try_MediaStream_Clone
   405  //go:noescape
   406  func TryMediaStreamClone(
   407  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   408  
   409  //go:wasmimport plat/js/web get_MediaError_Code
   410  //go:noescape
   411  func GetMediaErrorCode(
   412  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   413  
   414  //go:wasmimport plat/js/web get_MediaError_Message
   415  //go:noescape
   416  func GetMediaErrorMessage(
   417  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   418  
   419  //go:wasmimport plat/js/web constof_EndOfStreamError
   420  //go:noescape
   421  func ConstOfEndOfStreamError(str js.Ref) uint32
   422  
   423  //go:wasmimport plat/js/web get_SourceBufferList_Length
   424  //go:noescape
   425  func GetSourceBufferListLength(
   426  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   427  
   428  //go:wasmimport plat/js/web has_SourceBufferList_Get
   429  //go:noescape
   430  func HasFuncSourceBufferListGet(this js.Ref) js.Ref
   431  
   432  //go:wasmimport plat/js/web func_SourceBufferList_Get
   433  //go:noescape
   434  func FuncSourceBufferListGet(this js.Ref, fn unsafe.Pointer)
   435  
   436  //go:wasmimport plat/js/web call_SourceBufferList_Get
   437  //go:noescape
   438  func CallSourceBufferListGet(
   439  	this js.Ref, retPtr unsafe.Pointer,
   440  	index uint32)
   441  
   442  //go:wasmimport plat/js/web try_SourceBufferList_Get
   443  //go:noescape
   444  func TrySourceBufferListGet(
   445  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   446  	index uint32) (ok js.Ref)
   447  
   448  //go:wasmimport plat/js/web constof_ReadyState
   449  //go:noescape
   450  func ConstOfReadyState(str js.Ref) uint32
   451  
   452  //go:wasmimport plat/js/web get_MediaSource_Handle
   453  //go:noescape
   454  func GetMediaSourceHandle(
   455  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   456  
   457  //go:wasmimport plat/js/web get_MediaSource_SourceBuffers
   458  //go:noescape
   459  func GetMediaSourceSourceBuffers(
   460  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   461  
   462  //go:wasmimport plat/js/web get_MediaSource_ActiveSourceBuffers
   463  //go:noescape
   464  func GetMediaSourceActiveSourceBuffers(
   465  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   466  
   467  //go:wasmimport plat/js/web get_MediaSource_ReadyState
   468  //go:noescape
   469  func GetMediaSourceReadyState(
   470  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   471  
   472  //go:wasmimport plat/js/web get_MediaSource_Duration
   473  //go:noescape
   474  func GetMediaSourceDuration(
   475  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   476  
   477  //go:wasmimport plat/js/web set_MediaSource_Duration
   478  //go:noescape
   479  func SetMediaSourceDuration(
   480  	this js.Ref,
   481  	val float64,
   482  ) js.Ref
   483  
   484  //go:wasmimport plat/js/web get_MediaSource_CanConstructInDedicatedWorker
   485  //go:noescape
   486  func GetMediaSourceCanConstructInDedicatedWorker(
   487  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   488  
   489  //go:wasmimport plat/js/web has_MediaSource_AddSourceBuffer
   490  //go:noescape
   491  func HasFuncMediaSourceAddSourceBuffer(this js.Ref) js.Ref
   492  
   493  //go:wasmimport plat/js/web func_MediaSource_AddSourceBuffer
   494  //go:noescape
   495  func FuncMediaSourceAddSourceBuffer(this js.Ref, fn unsafe.Pointer)
   496  
   497  //go:wasmimport plat/js/web call_MediaSource_AddSourceBuffer
   498  //go:noescape
   499  func CallMediaSourceAddSourceBuffer(
   500  	this js.Ref, retPtr unsafe.Pointer,
   501  	typ js.Ref)
   502  
   503  //go:wasmimport plat/js/web try_MediaSource_AddSourceBuffer
   504  //go:noescape
   505  func TryMediaSourceAddSourceBuffer(
   506  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   507  	typ js.Ref) (ok js.Ref)
   508  
   509  //go:wasmimport plat/js/web has_MediaSource_RemoveSourceBuffer
   510  //go:noescape
   511  func HasFuncMediaSourceRemoveSourceBuffer(this js.Ref) js.Ref
   512  
   513  //go:wasmimport plat/js/web func_MediaSource_RemoveSourceBuffer
   514  //go:noescape
   515  func FuncMediaSourceRemoveSourceBuffer(this js.Ref, fn unsafe.Pointer)
   516  
   517  //go:wasmimport plat/js/web call_MediaSource_RemoveSourceBuffer
   518  //go:noescape
   519  func CallMediaSourceRemoveSourceBuffer(
   520  	this js.Ref, retPtr unsafe.Pointer,
   521  	sourceBuffer js.Ref)
   522  
   523  //go:wasmimport plat/js/web try_MediaSource_RemoveSourceBuffer
   524  //go:noescape
   525  func TryMediaSourceRemoveSourceBuffer(
   526  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   527  	sourceBuffer js.Ref) (ok js.Ref)
   528  
   529  //go:wasmimport plat/js/web has_MediaSource_EndOfStream
   530  //go:noescape
   531  func HasFuncMediaSourceEndOfStream(this js.Ref) js.Ref
   532  
   533  //go:wasmimport plat/js/web func_MediaSource_EndOfStream
   534  //go:noescape
   535  func FuncMediaSourceEndOfStream(this js.Ref, fn unsafe.Pointer)
   536  
   537  //go:wasmimport plat/js/web call_MediaSource_EndOfStream
   538  //go:noescape
   539  func CallMediaSourceEndOfStream(
   540  	this js.Ref, retPtr unsafe.Pointer,
   541  	err uint32)
   542  
   543  //go:wasmimport plat/js/web try_MediaSource_EndOfStream
   544  //go:noescape
   545  func TryMediaSourceEndOfStream(
   546  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   547  	err uint32) (ok js.Ref)
   548  
   549  //go:wasmimport plat/js/web has_MediaSource_EndOfStream1
   550  //go:noescape
   551  func HasFuncMediaSourceEndOfStream1(this js.Ref) js.Ref
   552  
   553  //go:wasmimport plat/js/web func_MediaSource_EndOfStream1
   554  //go:noescape
   555  func FuncMediaSourceEndOfStream1(this js.Ref, fn unsafe.Pointer)
   556  
   557  //go:wasmimport plat/js/web call_MediaSource_EndOfStream1
   558  //go:noescape
   559  func CallMediaSourceEndOfStream1(
   560  	this js.Ref, retPtr unsafe.Pointer)
   561  
   562  //go:wasmimport plat/js/web try_MediaSource_EndOfStream1
   563  //go:noescape
   564  func TryMediaSourceEndOfStream1(
   565  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   566  
   567  //go:wasmimport plat/js/web has_MediaSource_SetLiveSeekableRange
   568  //go:noescape
   569  func HasFuncMediaSourceSetLiveSeekableRange(this js.Ref) js.Ref
   570  
   571  //go:wasmimport plat/js/web func_MediaSource_SetLiveSeekableRange
   572  //go:noescape
   573  func FuncMediaSourceSetLiveSeekableRange(this js.Ref, fn unsafe.Pointer)
   574  
   575  //go:wasmimport plat/js/web call_MediaSource_SetLiveSeekableRange
   576  //go:noescape
   577  func CallMediaSourceSetLiveSeekableRange(
   578  	this js.Ref, retPtr unsafe.Pointer,
   579  	start float64,
   580  	end float64)
   581  
   582  //go:wasmimport plat/js/web try_MediaSource_SetLiveSeekableRange
   583  //go:noescape
   584  func TryMediaSourceSetLiveSeekableRange(
   585  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   586  	start float64,
   587  	end float64) (ok js.Ref)
   588  
   589  //go:wasmimport plat/js/web has_MediaSource_ClearLiveSeekableRange
   590  //go:noescape
   591  func HasFuncMediaSourceClearLiveSeekableRange(this js.Ref) js.Ref
   592  
   593  //go:wasmimport plat/js/web func_MediaSource_ClearLiveSeekableRange
   594  //go:noescape
   595  func FuncMediaSourceClearLiveSeekableRange(this js.Ref, fn unsafe.Pointer)
   596  
   597  //go:wasmimport plat/js/web call_MediaSource_ClearLiveSeekableRange
   598  //go:noescape
   599  func CallMediaSourceClearLiveSeekableRange(
   600  	this js.Ref, retPtr unsafe.Pointer)
   601  
   602  //go:wasmimport plat/js/web try_MediaSource_ClearLiveSeekableRange
   603  //go:noescape
   604  func TryMediaSourceClearLiveSeekableRange(
   605  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   606  
   607  //go:wasmimport plat/js/web has_MediaSource_IsTypeSupported
   608  //go:noescape
   609  func HasFuncMediaSourceIsTypeSupported(this js.Ref) js.Ref
   610  
   611  //go:wasmimport plat/js/web func_MediaSource_IsTypeSupported
   612  //go:noescape
   613  func FuncMediaSourceIsTypeSupported(this js.Ref, fn unsafe.Pointer)
   614  
   615  //go:wasmimport plat/js/web call_MediaSource_IsTypeSupported
   616  //go:noescape
   617  func CallMediaSourceIsTypeSupported(
   618  	this js.Ref, retPtr unsafe.Pointer,
   619  	typ js.Ref)
   620  
   621  //go:wasmimport plat/js/web try_MediaSource_IsTypeSupported
   622  //go:noescape
   623  func TryMediaSourceIsTypeSupported(
   624  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   625  	typ js.Ref) (ok js.Ref)
   626  
   627  //go:wasmimport plat/js/web constof_RemotePlaybackState
   628  //go:noescape
   629  func ConstOfRemotePlaybackState(str js.Ref) uint32
   630  
   631  //go:wasmimport plat/js/web get_RemotePlayback_State
   632  //go:noescape
   633  func GetRemotePlaybackState(
   634  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   635  
   636  //go:wasmimport plat/js/web has_RemotePlayback_WatchAvailability
   637  //go:noescape
   638  func HasFuncRemotePlaybackWatchAvailability(this js.Ref) js.Ref
   639  
   640  //go:wasmimport plat/js/web func_RemotePlayback_WatchAvailability
   641  //go:noescape
   642  func FuncRemotePlaybackWatchAvailability(this js.Ref, fn unsafe.Pointer)
   643  
   644  //go:wasmimport plat/js/web call_RemotePlayback_WatchAvailability
   645  //go:noescape
   646  func CallRemotePlaybackWatchAvailability(
   647  	this js.Ref, retPtr unsafe.Pointer,
   648  	callback js.Ref)
   649  
   650  //go:wasmimport plat/js/web try_RemotePlayback_WatchAvailability
   651  //go:noescape
   652  func TryRemotePlaybackWatchAvailability(
   653  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   654  	callback js.Ref) (ok js.Ref)
   655  
   656  //go:wasmimport plat/js/web has_RemotePlayback_CancelWatchAvailability
   657  //go:noescape
   658  func HasFuncRemotePlaybackCancelWatchAvailability(this js.Ref) js.Ref
   659  
   660  //go:wasmimport plat/js/web func_RemotePlayback_CancelWatchAvailability
   661  //go:noescape
   662  func FuncRemotePlaybackCancelWatchAvailability(this js.Ref, fn unsafe.Pointer)
   663  
   664  //go:wasmimport plat/js/web call_RemotePlayback_CancelWatchAvailability
   665  //go:noescape
   666  func CallRemotePlaybackCancelWatchAvailability(
   667  	this js.Ref, retPtr unsafe.Pointer,
   668  	id int32)
   669  
   670  //go:wasmimport plat/js/web try_RemotePlayback_CancelWatchAvailability
   671  //go:noescape
   672  func TryRemotePlaybackCancelWatchAvailability(
   673  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   674  	id int32) (ok js.Ref)
   675  
   676  //go:wasmimport plat/js/web has_RemotePlayback_CancelWatchAvailability1
   677  //go:noescape
   678  func HasFuncRemotePlaybackCancelWatchAvailability1(this js.Ref) js.Ref
   679  
   680  //go:wasmimport plat/js/web func_RemotePlayback_CancelWatchAvailability1
   681  //go:noescape
   682  func FuncRemotePlaybackCancelWatchAvailability1(this js.Ref, fn unsafe.Pointer)
   683  
   684  //go:wasmimport plat/js/web call_RemotePlayback_CancelWatchAvailability1
   685  //go:noescape
   686  func CallRemotePlaybackCancelWatchAvailability1(
   687  	this js.Ref, retPtr unsafe.Pointer)
   688  
   689  //go:wasmimport plat/js/web try_RemotePlayback_CancelWatchAvailability1
   690  //go:noescape
   691  func TryRemotePlaybackCancelWatchAvailability1(
   692  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   693  
   694  //go:wasmimport plat/js/web has_RemotePlayback_Prompt
   695  //go:noescape
   696  func HasFuncRemotePlaybackPrompt(this js.Ref) js.Ref
   697  
   698  //go:wasmimport plat/js/web func_RemotePlayback_Prompt
   699  //go:noescape
   700  func FuncRemotePlaybackPrompt(this js.Ref, fn unsafe.Pointer)
   701  
   702  //go:wasmimport plat/js/web call_RemotePlayback_Prompt
   703  //go:noescape
   704  func CallRemotePlaybackPrompt(
   705  	this js.Ref, retPtr unsafe.Pointer)
   706  
   707  //go:wasmimport plat/js/web try_RemotePlayback_Prompt
   708  //go:noescape
   709  func TryRemotePlaybackPrompt(
   710  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   711  
   712  //go:wasmimport plat/js/web get_HTMLMediaElement_Error
   713  //go:noescape
   714  func GetHTMLMediaElementError(
   715  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   716  
   717  //go:wasmimport plat/js/web get_HTMLMediaElement_Src
   718  //go:noescape
   719  func GetHTMLMediaElementSrc(
   720  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   721  
   722  //go:wasmimport plat/js/web set_HTMLMediaElement_Src
   723  //go:noescape
   724  func SetHTMLMediaElementSrc(
   725  	this js.Ref,
   726  	val js.Ref,
   727  ) js.Ref
   728  
   729  //go:wasmimport plat/js/web get_HTMLMediaElement_SrcObject
   730  //go:noescape
   731  func GetHTMLMediaElementSrcObject(
   732  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   733  
   734  //go:wasmimport plat/js/web set_HTMLMediaElement_SrcObject
   735  //go:noescape
   736  func SetHTMLMediaElementSrcObject(
   737  	this js.Ref,
   738  	val js.Ref,
   739  ) js.Ref
   740  
   741  //go:wasmimport plat/js/web get_HTMLMediaElement_CurrentSrc
   742  //go:noescape
   743  func GetHTMLMediaElementCurrentSrc(
   744  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   745  
   746  //go:wasmimport plat/js/web get_HTMLMediaElement_CrossOrigin
   747  //go:noescape
   748  func GetHTMLMediaElementCrossOrigin(
   749  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   750  
   751  //go:wasmimport plat/js/web set_HTMLMediaElement_CrossOrigin
   752  //go:noescape
   753  func SetHTMLMediaElementCrossOrigin(
   754  	this js.Ref,
   755  	val js.Ref,
   756  ) js.Ref
   757  
   758  //go:wasmimport plat/js/web get_HTMLMediaElement_NetworkState
   759  //go:noescape
   760  func GetHTMLMediaElementNetworkState(
   761  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   762  
   763  //go:wasmimport plat/js/web get_HTMLMediaElement_Preload
   764  //go:noescape
   765  func GetHTMLMediaElementPreload(
   766  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   767  
   768  //go:wasmimport plat/js/web set_HTMLMediaElement_Preload
   769  //go:noescape
   770  func SetHTMLMediaElementPreload(
   771  	this js.Ref,
   772  	val js.Ref,
   773  ) js.Ref
   774  
   775  //go:wasmimport plat/js/web get_HTMLMediaElement_Buffered
   776  //go:noescape
   777  func GetHTMLMediaElementBuffered(
   778  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   779  
   780  //go:wasmimport plat/js/web get_HTMLMediaElement_ReadyState
   781  //go:noescape
   782  func GetHTMLMediaElementReadyState(
   783  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   784  
   785  //go:wasmimport plat/js/web get_HTMLMediaElement_Seeking
   786  //go:noescape
   787  func GetHTMLMediaElementSeeking(
   788  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   789  
   790  //go:wasmimport plat/js/web get_HTMLMediaElement_CurrentTime
   791  //go:noescape
   792  func GetHTMLMediaElementCurrentTime(
   793  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   794  
   795  //go:wasmimport plat/js/web set_HTMLMediaElement_CurrentTime
   796  //go:noescape
   797  func SetHTMLMediaElementCurrentTime(
   798  	this js.Ref,
   799  	val float64,
   800  ) js.Ref
   801  
   802  //go:wasmimport plat/js/web get_HTMLMediaElement_Duration
   803  //go:noescape
   804  func GetHTMLMediaElementDuration(
   805  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   806  
   807  //go:wasmimport plat/js/web get_HTMLMediaElement_Paused
   808  //go:noescape
   809  func GetHTMLMediaElementPaused(
   810  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   811  
   812  //go:wasmimport plat/js/web get_HTMLMediaElement_DefaultPlaybackRate
   813  //go:noescape
   814  func GetHTMLMediaElementDefaultPlaybackRate(
   815  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   816  
   817  //go:wasmimport plat/js/web set_HTMLMediaElement_DefaultPlaybackRate
   818  //go:noescape
   819  func SetHTMLMediaElementDefaultPlaybackRate(
   820  	this js.Ref,
   821  	val float64,
   822  ) js.Ref
   823  
   824  //go:wasmimport plat/js/web get_HTMLMediaElement_PlaybackRate
   825  //go:noescape
   826  func GetHTMLMediaElementPlaybackRate(
   827  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   828  
   829  //go:wasmimport plat/js/web set_HTMLMediaElement_PlaybackRate
   830  //go:noescape
   831  func SetHTMLMediaElementPlaybackRate(
   832  	this js.Ref,
   833  	val float64,
   834  ) js.Ref
   835  
   836  //go:wasmimport plat/js/web get_HTMLMediaElement_PreservesPitch
   837  //go:noescape
   838  func GetHTMLMediaElementPreservesPitch(
   839  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   840  
   841  //go:wasmimport plat/js/web set_HTMLMediaElement_PreservesPitch
   842  //go:noescape
   843  func SetHTMLMediaElementPreservesPitch(
   844  	this js.Ref,
   845  	val js.Ref,
   846  ) js.Ref
   847  
   848  //go:wasmimport plat/js/web get_HTMLMediaElement_Played
   849  //go:noescape
   850  func GetHTMLMediaElementPlayed(
   851  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   852  
   853  //go:wasmimport plat/js/web get_HTMLMediaElement_Seekable
   854  //go:noescape
   855  func GetHTMLMediaElementSeekable(
   856  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   857  
   858  //go:wasmimport plat/js/web get_HTMLMediaElement_Ended
   859  //go:noescape
   860  func GetHTMLMediaElementEnded(
   861  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   862  
   863  //go:wasmimport plat/js/web get_HTMLMediaElement_Autoplay
   864  //go:noescape
   865  func GetHTMLMediaElementAutoplay(
   866  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   867  
   868  //go:wasmimport plat/js/web set_HTMLMediaElement_Autoplay
   869  //go:noescape
   870  func SetHTMLMediaElementAutoplay(
   871  	this js.Ref,
   872  	val js.Ref,
   873  ) js.Ref
   874  
   875  //go:wasmimport plat/js/web get_HTMLMediaElement_Loop
   876  //go:noescape
   877  func GetHTMLMediaElementLoop(
   878  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   879  
   880  //go:wasmimport plat/js/web set_HTMLMediaElement_Loop
   881  //go:noescape
   882  func SetHTMLMediaElementLoop(
   883  	this js.Ref,
   884  	val js.Ref,
   885  ) js.Ref
   886  
   887  //go:wasmimport plat/js/web get_HTMLMediaElement_Controls
   888  //go:noescape
   889  func GetHTMLMediaElementControls(
   890  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   891  
   892  //go:wasmimport plat/js/web set_HTMLMediaElement_Controls
   893  //go:noescape
   894  func SetHTMLMediaElementControls(
   895  	this js.Ref,
   896  	val js.Ref,
   897  ) js.Ref
   898  
   899  //go:wasmimport plat/js/web get_HTMLMediaElement_Volume
   900  //go:noescape
   901  func GetHTMLMediaElementVolume(
   902  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   903  
   904  //go:wasmimport plat/js/web set_HTMLMediaElement_Volume
   905  //go:noescape
   906  func SetHTMLMediaElementVolume(
   907  	this js.Ref,
   908  	val float64,
   909  ) js.Ref
   910  
   911  //go:wasmimport plat/js/web get_HTMLMediaElement_Muted
   912  //go:noescape
   913  func GetHTMLMediaElementMuted(
   914  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   915  
   916  //go:wasmimport plat/js/web set_HTMLMediaElement_Muted
   917  //go:noescape
   918  func SetHTMLMediaElementMuted(
   919  	this js.Ref,
   920  	val js.Ref,
   921  ) js.Ref
   922  
   923  //go:wasmimport plat/js/web get_HTMLMediaElement_DefaultMuted
   924  //go:noescape
   925  func GetHTMLMediaElementDefaultMuted(
   926  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   927  
   928  //go:wasmimport plat/js/web set_HTMLMediaElement_DefaultMuted
   929  //go:noescape
   930  func SetHTMLMediaElementDefaultMuted(
   931  	this js.Ref,
   932  	val js.Ref,
   933  ) js.Ref
   934  
   935  //go:wasmimport plat/js/web get_HTMLMediaElement_AudioTracks
   936  //go:noescape
   937  func GetHTMLMediaElementAudioTracks(
   938  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   939  
   940  //go:wasmimport plat/js/web get_HTMLMediaElement_VideoTracks
   941  //go:noescape
   942  func GetHTMLMediaElementVideoTracks(
   943  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   944  
   945  //go:wasmimport plat/js/web get_HTMLMediaElement_TextTracks
   946  //go:noescape
   947  func GetHTMLMediaElementTextTracks(
   948  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   949  
   950  //go:wasmimport plat/js/web get_HTMLMediaElement_MediaKeys
   951  //go:noescape
   952  func GetHTMLMediaElementMediaKeys(
   953  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   954  
   955  //go:wasmimport plat/js/web get_HTMLMediaElement_Remote
   956  //go:noescape
   957  func GetHTMLMediaElementRemote(
   958  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   959  
   960  //go:wasmimport plat/js/web get_HTMLMediaElement_DisableRemotePlayback
   961  //go:noescape
   962  func GetHTMLMediaElementDisableRemotePlayback(
   963  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   964  
   965  //go:wasmimport plat/js/web set_HTMLMediaElement_DisableRemotePlayback
   966  //go:noescape
   967  func SetHTMLMediaElementDisableRemotePlayback(
   968  	this js.Ref,
   969  	val js.Ref,
   970  ) js.Ref
   971  
   972  //go:wasmimport plat/js/web get_HTMLMediaElement_SinkId
   973  //go:noescape
   974  func GetHTMLMediaElementSinkId(
   975  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
   976  
   977  //go:wasmimport plat/js/web has_HTMLMediaElement_Load
   978  //go:noescape
   979  func HasFuncHTMLMediaElementLoad(this js.Ref) js.Ref
   980  
   981  //go:wasmimport plat/js/web func_HTMLMediaElement_Load
   982  //go:noescape
   983  func FuncHTMLMediaElementLoad(this js.Ref, fn unsafe.Pointer)
   984  
   985  //go:wasmimport plat/js/web call_HTMLMediaElement_Load
   986  //go:noescape
   987  func CallHTMLMediaElementLoad(
   988  	this js.Ref, retPtr unsafe.Pointer)
   989  
   990  //go:wasmimport plat/js/web try_HTMLMediaElement_Load
   991  //go:noescape
   992  func TryHTMLMediaElementLoad(
   993  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   994  
   995  //go:wasmimport plat/js/web has_HTMLMediaElement_CanPlayType
   996  //go:noescape
   997  func HasFuncHTMLMediaElementCanPlayType(this js.Ref) js.Ref
   998  
   999  //go:wasmimport plat/js/web func_HTMLMediaElement_CanPlayType
  1000  //go:noescape
  1001  func FuncHTMLMediaElementCanPlayType(this js.Ref, fn unsafe.Pointer)
  1002  
  1003  //go:wasmimport plat/js/web call_HTMLMediaElement_CanPlayType
  1004  //go:noescape
  1005  func CallHTMLMediaElementCanPlayType(
  1006  	this js.Ref, retPtr unsafe.Pointer,
  1007  	typ js.Ref)
  1008  
  1009  //go:wasmimport plat/js/web try_HTMLMediaElement_CanPlayType
  1010  //go:noescape
  1011  func TryHTMLMediaElementCanPlayType(
  1012  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1013  	typ js.Ref) (ok js.Ref)
  1014  
  1015  //go:wasmimport plat/js/web has_HTMLMediaElement_FastSeek
  1016  //go:noescape
  1017  func HasFuncHTMLMediaElementFastSeek(this js.Ref) js.Ref
  1018  
  1019  //go:wasmimport plat/js/web func_HTMLMediaElement_FastSeek
  1020  //go:noescape
  1021  func FuncHTMLMediaElementFastSeek(this js.Ref, fn unsafe.Pointer)
  1022  
  1023  //go:wasmimport plat/js/web call_HTMLMediaElement_FastSeek
  1024  //go:noescape
  1025  func CallHTMLMediaElementFastSeek(
  1026  	this js.Ref, retPtr unsafe.Pointer,
  1027  	time float64)
  1028  
  1029  //go:wasmimport plat/js/web try_HTMLMediaElement_FastSeek
  1030  //go:noescape
  1031  func TryHTMLMediaElementFastSeek(
  1032  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1033  	time float64) (ok js.Ref)
  1034  
  1035  //go:wasmimport plat/js/web has_HTMLMediaElement_GetStartDate
  1036  //go:noescape
  1037  func HasFuncHTMLMediaElementGetStartDate(this js.Ref) js.Ref
  1038  
  1039  //go:wasmimport plat/js/web func_HTMLMediaElement_GetStartDate
  1040  //go:noescape
  1041  func FuncHTMLMediaElementGetStartDate(this js.Ref, fn unsafe.Pointer)
  1042  
  1043  //go:wasmimport plat/js/web call_HTMLMediaElement_GetStartDate
  1044  //go:noescape
  1045  func CallHTMLMediaElementGetStartDate(
  1046  	this js.Ref, retPtr unsafe.Pointer)
  1047  
  1048  //go:wasmimport plat/js/web try_HTMLMediaElement_GetStartDate
  1049  //go:noescape
  1050  func TryHTMLMediaElementGetStartDate(
  1051  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1052  
  1053  //go:wasmimport plat/js/web has_HTMLMediaElement_Play
  1054  //go:noescape
  1055  func HasFuncHTMLMediaElementPlay(this js.Ref) js.Ref
  1056  
  1057  //go:wasmimport plat/js/web func_HTMLMediaElement_Play
  1058  //go:noescape
  1059  func FuncHTMLMediaElementPlay(this js.Ref, fn unsafe.Pointer)
  1060  
  1061  //go:wasmimport plat/js/web call_HTMLMediaElement_Play
  1062  //go:noescape
  1063  func CallHTMLMediaElementPlay(
  1064  	this js.Ref, retPtr unsafe.Pointer)
  1065  
  1066  //go:wasmimport plat/js/web try_HTMLMediaElement_Play
  1067  //go:noescape
  1068  func TryHTMLMediaElementPlay(
  1069  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1070  
  1071  //go:wasmimport plat/js/web has_HTMLMediaElement_Pause
  1072  //go:noescape
  1073  func HasFuncHTMLMediaElementPause(this js.Ref) js.Ref
  1074  
  1075  //go:wasmimport plat/js/web func_HTMLMediaElement_Pause
  1076  //go:noescape
  1077  func FuncHTMLMediaElementPause(this js.Ref, fn unsafe.Pointer)
  1078  
  1079  //go:wasmimport plat/js/web call_HTMLMediaElement_Pause
  1080  //go:noescape
  1081  func CallHTMLMediaElementPause(
  1082  	this js.Ref, retPtr unsafe.Pointer)
  1083  
  1084  //go:wasmimport plat/js/web try_HTMLMediaElement_Pause
  1085  //go:noescape
  1086  func TryHTMLMediaElementPause(
  1087  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1088  
  1089  //go:wasmimport plat/js/web has_HTMLMediaElement_AddTextTrack
  1090  //go:noescape
  1091  func HasFuncHTMLMediaElementAddTextTrack(this js.Ref) js.Ref
  1092  
  1093  //go:wasmimport plat/js/web func_HTMLMediaElement_AddTextTrack
  1094  //go:noescape
  1095  func FuncHTMLMediaElementAddTextTrack(this js.Ref, fn unsafe.Pointer)
  1096  
  1097  //go:wasmimport plat/js/web call_HTMLMediaElement_AddTextTrack
  1098  //go:noescape
  1099  func CallHTMLMediaElementAddTextTrack(
  1100  	this js.Ref, retPtr unsafe.Pointer,
  1101  	kind uint32,
  1102  	label js.Ref,
  1103  	language js.Ref)
  1104  
  1105  //go:wasmimport plat/js/web try_HTMLMediaElement_AddTextTrack
  1106  //go:noescape
  1107  func TryHTMLMediaElementAddTextTrack(
  1108  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1109  	kind uint32,
  1110  	label js.Ref,
  1111  	language js.Ref) (ok js.Ref)
  1112  
  1113  //go:wasmimport plat/js/web has_HTMLMediaElement_AddTextTrack1
  1114  //go:noescape
  1115  func HasFuncHTMLMediaElementAddTextTrack1(this js.Ref) js.Ref
  1116  
  1117  //go:wasmimport plat/js/web func_HTMLMediaElement_AddTextTrack1
  1118  //go:noescape
  1119  func FuncHTMLMediaElementAddTextTrack1(this js.Ref, fn unsafe.Pointer)
  1120  
  1121  //go:wasmimport plat/js/web call_HTMLMediaElement_AddTextTrack1
  1122  //go:noescape
  1123  func CallHTMLMediaElementAddTextTrack1(
  1124  	this js.Ref, retPtr unsafe.Pointer,
  1125  	kind uint32,
  1126  	label js.Ref)
  1127  
  1128  //go:wasmimport plat/js/web try_HTMLMediaElement_AddTextTrack1
  1129  //go:noescape
  1130  func TryHTMLMediaElementAddTextTrack1(
  1131  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1132  	kind uint32,
  1133  	label js.Ref) (ok js.Ref)
  1134  
  1135  //go:wasmimport plat/js/web has_HTMLMediaElement_AddTextTrack2
  1136  //go:noescape
  1137  func HasFuncHTMLMediaElementAddTextTrack2(this js.Ref) js.Ref
  1138  
  1139  //go:wasmimport plat/js/web func_HTMLMediaElement_AddTextTrack2
  1140  //go:noescape
  1141  func FuncHTMLMediaElementAddTextTrack2(this js.Ref, fn unsafe.Pointer)
  1142  
  1143  //go:wasmimport plat/js/web call_HTMLMediaElement_AddTextTrack2
  1144  //go:noescape
  1145  func CallHTMLMediaElementAddTextTrack2(
  1146  	this js.Ref, retPtr unsafe.Pointer,
  1147  	kind uint32)
  1148  
  1149  //go:wasmimport plat/js/web try_HTMLMediaElement_AddTextTrack2
  1150  //go:noescape
  1151  func TryHTMLMediaElementAddTextTrack2(
  1152  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1153  	kind uint32) (ok js.Ref)
  1154  
  1155  //go:wasmimport plat/js/web has_HTMLMediaElement_SetMediaKeys
  1156  //go:noescape
  1157  func HasFuncHTMLMediaElementSetMediaKeys(this js.Ref) js.Ref
  1158  
  1159  //go:wasmimport plat/js/web func_HTMLMediaElement_SetMediaKeys
  1160  //go:noescape
  1161  func FuncHTMLMediaElementSetMediaKeys(this js.Ref, fn unsafe.Pointer)
  1162  
  1163  //go:wasmimport plat/js/web call_HTMLMediaElement_SetMediaKeys
  1164  //go:noescape
  1165  func CallHTMLMediaElementSetMediaKeys(
  1166  	this js.Ref, retPtr unsafe.Pointer,
  1167  	mediaKeys js.Ref)
  1168  
  1169  //go:wasmimport plat/js/web try_HTMLMediaElement_SetMediaKeys
  1170  //go:noescape
  1171  func TryHTMLMediaElementSetMediaKeys(
  1172  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1173  	mediaKeys js.Ref) (ok js.Ref)
  1174  
  1175  //go:wasmimport plat/js/web has_HTMLMediaElement_CaptureStream
  1176  //go:noescape
  1177  func HasFuncHTMLMediaElementCaptureStream(this js.Ref) js.Ref
  1178  
  1179  //go:wasmimport plat/js/web func_HTMLMediaElement_CaptureStream
  1180  //go:noescape
  1181  func FuncHTMLMediaElementCaptureStream(this js.Ref, fn unsafe.Pointer)
  1182  
  1183  //go:wasmimport plat/js/web call_HTMLMediaElement_CaptureStream
  1184  //go:noescape
  1185  func CallHTMLMediaElementCaptureStream(
  1186  	this js.Ref, retPtr unsafe.Pointer)
  1187  
  1188  //go:wasmimport plat/js/web try_HTMLMediaElement_CaptureStream
  1189  //go:noescape
  1190  func TryHTMLMediaElementCaptureStream(
  1191  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1192  
  1193  //go:wasmimport plat/js/web has_HTMLMediaElement_SetSinkId
  1194  //go:noescape
  1195  func HasFuncHTMLMediaElementSetSinkId(this js.Ref) js.Ref
  1196  
  1197  //go:wasmimport plat/js/web func_HTMLMediaElement_SetSinkId
  1198  //go:noescape
  1199  func FuncHTMLMediaElementSetSinkId(this js.Ref, fn unsafe.Pointer)
  1200  
  1201  //go:wasmimport plat/js/web call_HTMLMediaElement_SetSinkId
  1202  //go:noescape
  1203  func CallHTMLMediaElementSetSinkId(
  1204  	this js.Ref, retPtr unsafe.Pointer,
  1205  	sinkId js.Ref)
  1206  
  1207  //go:wasmimport plat/js/web try_HTMLMediaElement_SetSinkId
  1208  //go:noescape
  1209  func TryHTMLMediaElementSetSinkId(
  1210  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1211  	sinkId js.Ref) (ok js.Ref)
  1212  
  1213  //go:wasmimport plat/js/web store_MediaElementAudioSourceOptions
  1214  //go:noescape
  1215  func MediaElementAudioSourceOptionsJSStore(
  1216  	ptr unsafe.Pointer, ref js.Ref)
  1217  
  1218  //go:wasmimport plat/js/web load_MediaElementAudioSourceOptions
  1219  //go:noescape
  1220  func MediaElementAudioSourceOptionsJSLoad(
  1221  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1222  
  1223  //go:wasmimport plat/js/web new_MediaElementAudioSourceNode_MediaElementAudioSourceNode
  1224  //go:noescape
  1225  func NewMediaElementAudioSourceNodeByMediaElementAudioSourceNode(
  1226  	context js.Ref,
  1227  	options unsafe.Pointer) js.Ref
  1228  
  1229  //go:wasmimport plat/js/web get_MediaElementAudioSourceNode_MediaElement
  1230  //go:noescape
  1231  func GetMediaElementAudioSourceNodeMediaElement(
  1232  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1233  
  1234  //go:wasmimport plat/js/web store_MediaStreamAudioSourceOptions
  1235  //go:noescape
  1236  func MediaStreamAudioSourceOptionsJSStore(
  1237  	ptr unsafe.Pointer, ref js.Ref)
  1238  
  1239  //go:wasmimport plat/js/web load_MediaStreamAudioSourceOptions
  1240  //go:noescape
  1241  func MediaStreamAudioSourceOptionsJSLoad(
  1242  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1243  
  1244  //go:wasmimport plat/js/web new_MediaStreamAudioSourceNode_MediaStreamAudioSourceNode
  1245  //go:noescape
  1246  func NewMediaStreamAudioSourceNodeByMediaStreamAudioSourceNode(
  1247  	context js.Ref,
  1248  	options unsafe.Pointer) js.Ref
  1249  
  1250  //go:wasmimport plat/js/web get_MediaStreamAudioSourceNode_MediaStream
  1251  //go:noescape
  1252  func GetMediaStreamAudioSourceNodeMediaStream(
  1253  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1254  
  1255  //go:wasmimport plat/js/web store_MediaStreamTrackAudioSourceOptions
  1256  //go:noescape
  1257  func MediaStreamTrackAudioSourceOptionsJSStore(
  1258  	ptr unsafe.Pointer, ref js.Ref)
  1259  
  1260  //go:wasmimport plat/js/web load_MediaStreamTrackAudioSourceOptions
  1261  //go:noescape
  1262  func MediaStreamTrackAudioSourceOptionsJSLoad(
  1263  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1264  
  1265  //go:wasmimport plat/js/web new_MediaStreamTrackAudioSourceNode_MediaStreamTrackAudioSourceNode
  1266  //go:noescape
  1267  func NewMediaStreamTrackAudioSourceNodeByMediaStreamTrackAudioSourceNode(
  1268  	context js.Ref,
  1269  	options unsafe.Pointer) js.Ref
  1270  
  1271  //go:wasmimport plat/js/web store_AudioNodeOptions
  1272  //go:noescape
  1273  func AudioNodeOptionsJSStore(
  1274  	ptr unsafe.Pointer, ref js.Ref)
  1275  
  1276  //go:wasmimport plat/js/web load_AudioNodeOptions
  1277  //go:noescape
  1278  func AudioNodeOptionsJSLoad(
  1279  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1280  
  1281  //go:wasmimport plat/js/web new_MediaStreamAudioDestinationNode_MediaStreamAudioDestinationNode
  1282  //go:noescape
  1283  func NewMediaStreamAudioDestinationNodeByMediaStreamAudioDestinationNode(
  1284  	context js.Ref,
  1285  	options unsafe.Pointer) js.Ref
  1286  
  1287  //go:wasmimport plat/js/web new_MediaStreamAudioDestinationNode_MediaStreamAudioDestinationNode1
  1288  //go:noescape
  1289  func NewMediaStreamAudioDestinationNodeByMediaStreamAudioDestinationNode1(
  1290  	context js.Ref) js.Ref
  1291  
  1292  //go:wasmimport plat/js/web get_MediaStreamAudioDestinationNode_Stream
  1293  //go:noescape
  1294  func GetMediaStreamAudioDestinationNodeStream(
  1295  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1296  
  1297  //go:wasmimport plat/js/web get_AudioSinkInfo_Type
  1298  //go:noescape
  1299  func GetAudioSinkInfoType(
  1300  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1301  
  1302  //go:wasmimport plat/js/web store_AudioRenderCapacityOptions
  1303  //go:noescape
  1304  func AudioRenderCapacityOptionsJSStore(
  1305  	ptr unsafe.Pointer, ref js.Ref)
  1306  
  1307  //go:wasmimport plat/js/web load_AudioRenderCapacityOptions
  1308  //go:noescape
  1309  func AudioRenderCapacityOptionsJSLoad(
  1310  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1311  
  1312  //go:wasmimport plat/js/web has_AudioRenderCapacity_Start
  1313  //go:noescape
  1314  func HasFuncAudioRenderCapacityStart(this js.Ref) js.Ref
  1315  
  1316  //go:wasmimport plat/js/web func_AudioRenderCapacity_Start
  1317  //go:noescape
  1318  func FuncAudioRenderCapacityStart(this js.Ref, fn unsafe.Pointer)
  1319  
  1320  //go:wasmimport plat/js/web call_AudioRenderCapacity_Start
  1321  //go:noescape
  1322  func CallAudioRenderCapacityStart(
  1323  	this js.Ref, retPtr unsafe.Pointer,
  1324  	options unsafe.Pointer)
  1325  
  1326  //go:wasmimport plat/js/web try_AudioRenderCapacity_Start
  1327  //go:noescape
  1328  func TryAudioRenderCapacityStart(
  1329  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1330  	options unsafe.Pointer) (ok js.Ref)
  1331  
  1332  //go:wasmimport plat/js/web has_AudioRenderCapacity_Start1
  1333  //go:noescape
  1334  func HasFuncAudioRenderCapacityStart1(this js.Ref) js.Ref
  1335  
  1336  //go:wasmimport plat/js/web func_AudioRenderCapacity_Start1
  1337  //go:noescape
  1338  func FuncAudioRenderCapacityStart1(this js.Ref, fn unsafe.Pointer)
  1339  
  1340  //go:wasmimport plat/js/web call_AudioRenderCapacity_Start1
  1341  //go:noescape
  1342  func CallAudioRenderCapacityStart1(
  1343  	this js.Ref, retPtr unsafe.Pointer)
  1344  
  1345  //go:wasmimport plat/js/web try_AudioRenderCapacity_Start1
  1346  //go:noescape
  1347  func TryAudioRenderCapacityStart1(
  1348  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1349  
  1350  //go:wasmimport plat/js/web has_AudioRenderCapacity_Stop
  1351  //go:noescape
  1352  func HasFuncAudioRenderCapacityStop(this js.Ref) js.Ref
  1353  
  1354  //go:wasmimport plat/js/web func_AudioRenderCapacity_Stop
  1355  //go:noescape
  1356  func FuncAudioRenderCapacityStop(this js.Ref, fn unsafe.Pointer)
  1357  
  1358  //go:wasmimport plat/js/web call_AudioRenderCapacity_Stop
  1359  //go:noescape
  1360  func CallAudioRenderCapacityStop(
  1361  	this js.Ref, retPtr unsafe.Pointer)
  1362  
  1363  //go:wasmimport plat/js/web try_AudioRenderCapacity_Stop
  1364  //go:noescape
  1365  func TryAudioRenderCapacityStop(
  1366  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1367  
  1368  //go:wasmimport plat/js/web new_AudioContext_AudioContext
  1369  //go:noescape
  1370  func NewAudioContextByAudioContext(
  1371  	contextOptions unsafe.Pointer) js.Ref
  1372  
  1373  //go:wasmimport plat/js/web new_AudioContext_AudioContext1
  1374  //go:noescape
  1375  func NewAudioContextByAudioContext1() js.Ref
  1376  
  1377  //go:wasmimport plat/js/web get_AudioContext_BaseLatency
  1378  //go:noescape
  1379  func GetAudioContextBaseLatency(
  1380  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1381  
  1382  //go:wasmimport plat/js/web get_AudioContext_OutputLatency
  1383  //go:noescape
  1384  func GetAudioContextOutputLatency(
  1385  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1386  
  1387  //go:wasmimport plat/js/web get_AudioContext_SinkId
  1388  //go:noescape
  1389  func GetAudioContextSinkId(
  1390  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1391  
  1392  //go:wasmimport plat/js/web get_AudioContext_RenderCapacity
  1393  //go:noescape
  1394  func GetAudioContextRenderCapacity(
  1395  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1396  
  1397  //go:wasmimport plat/js/web has_AudioContext_GetOutputTimestamp
  1398  //go:noescape
  1399  func HasFuncAudioContextGetOutputTimestamp(this js.Ref) js.Ref
  1400  
  1401  //go:wasmimport plat/js/web func_AudioContext_GetOutputTimestamp
  1402  //go:noescape
  1403  func FuncAudioContextGetOutputTimestamp(this js.Ref, fn unsafe.Pointer)
  1404  
  1405  //go:wasmimport plat/js/web call_AudioContext_GetOutputTimestamp
  1406  //go:noescape
  1407  func CallAudioContextGetOutputTimestamp(
  1408  	this js.Ref, retPtr unsafe.Pointer)
  1409  
  1410  //go:wasmimport plat/js/web try_AudioContext_GetOutputTimestamp
  1411  //go:noescape
  1412  func TryAudioContextGetOutputTimestamp(
  1413  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1414  
  1415  //go:wasmimport plat/js/web has_AudioContext_Resume
  1416  //go:noescape
  1417  func HasFuncAudioContextResume(this js.Ref) js.Ref
  1418  
  1419  //go:wasmimport plat/js/web func_AudioContext_Resume
  1420  //go:noescape
  1421  func FuncAudioContextResume(this js.Ref, fn unsafe.Pointer)
  1422  
  1423  //go:wasmimport plat/js/web call_AudioContext_Resume
  1424  //go:noescape
  1425  func CallAudioContextResume(
  1426  	this js.Ref, retPtr unsafe.Pointer)
  1427  
  1428  //go:wasmimport plat/js/web try_AudioContext_Resume
  1429  //go:noescape
  1430  func TryAudioContextResume(
  1431  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1432  
  1433  //go:wasmimport plat/js/web has_AudioContext_Suspend
  1434  //go:noescape
  1435  func HasFuncAudioContextSuspend(this js.Ref) js.Ref
  1436  
  1437  //go:wasmimport plat/js/web func_AudioContext_Suspend
  1438  //go:noescape
  1439  func FuncAudioContextSuspend(this js.Ref, fn unsafe.Pointer)
  1440  
  1441  //go:wasmimport plat/js/web call_AudioContext_Suspend
  1442  //go:noescape
  1443  func CallAudioContextSuspend(
  1444  	this js.Ref, retPtr unsafe.Pointer)
  1445  
  1446  //go:wasmimport plat/js/web try_AudioContext_Suspend
  1447  //go:noescape
  1448  func TryAudioContextSuspend(
  1449  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1450  
  1451  //go:wasmimport plat/js/web has_AudioContext_Close
  1452  //go:noescape
  1453  func HasFuncAudioContextClose(this js.Ref) js.Ref
  1454  
  1455  //go:wasmimport plat/js/web func_AudioContext_Close
  1456  //go:noescape
  1457  func FuncAudioContextClose(this js.Ref, fn unsafe.Pointer)
  1458  
  1459  //go:wasmimport plat/js/web call_AudioContext_Close
  1460  //go:noescape
  1461  func CallAudioContextClose(
  1462  	this js.Ref, retPtr unsafe.Pointer)
  1463  
  1464  //go:wasmimport plat/js/web try_AudioContext_Close
  1465  //go:noescape
  1466  func TryAudioContextClose(
  1467  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1468  
  1469  //go:wasmimport plat/js/web has_AudioContext_SetSinkId
  1470  //go:noescape
  1471  func HasFuncAudioContextSetSinkId(this js.Ref) js.Ref
  1472  
  1473  //go:wasmimport plat/js/web func_AudioContext_SetSinkId
  1474  //go:noescape
  1475  func FuncAudioContextSetSinkId(this js.Ref, fn unsafe.Pointer)
  1476  
  1477  //go:wasmimport plat/js/web call_AudioContext_SetSinkId
  1478  //go:noescape
  1479  func CallAudioContextSetSinkId(
  1480  	this js.Ref, retPtr unsafe.Pointer,
  1481  	sinkId js.Ref)
  1482  
  1483  //go:wasmimport plat/js/web try_AudioContext_SetSinkId
  1484  //go:noescape
  1485  func TryAudioContextSetSinkId(
  1486  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1487  	sinkId js.Ref) (ok js.Ref)
  1488  
  1489  //go:wasmimport plat/js/web has_AudioContext_CreateMediaElementSource
  1490  //go:noescape
  1491  func HasFuncAudioContextCreateMediaElementSource(this js.Ref) js.Ref
  1492  
  1493  //go:wasmimport plat/js/web func_AudioContext_CreateMediaElementSource
  1494  //go:noescape
  1495  func FuncAudioContextCreateMediaElementSource(this js.Ref, fn unsafe.Pointer)
  1496  
  1497  //go:wasmimport plat/js/web call_AudioContext_CreateMediaElementSource
  1498  //go:noescape
  1499  func CallAudioContextCreateMediaElementSource(
  1500  	this js.Ref, retPtr unsafe.Pointer,
  1501  	mediaElement js.Ref)
  1502  
  1503  //go:wasmimport plat/js/web try_AudioContext_CreateMediaElementSource
  1504  //go:noescape
  1505  func TryAudioContextCreateMediaElementSource(
  1506  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1507  	mediaElement js.Ref) (ok js.Ref)
  1508  
  1509  //go:wasmimport plat/js/web has_AudioContext_CreateMediaStreamSource
  1510  //go:noescape
  1511  func HasFuncAudioContextCreateMediaStreamSource(this js.Ref) js.Ref
  1512  
  1513  //go:wasmimport plat/js/web func_AudioContext_CreateMediaStreamSource
  1514  //go:noescape
  1515  func FuncAudioContextCreateMediaStreamSource(this js.Ref, fn unsafe.Pointer)
  1516  
  1517  //go:wasmimport plat/js/web call_AudioContext_CreateMediaStreamSource
  1518  //go:noescape
  1519  func CallAudioContextCreateMediaStreamSource(
  1520  	this js.Ref, retPtr unsafe.Pointer,
  1521  	mediaStream js.Ref)
  1522  
  1523  //go:wasmimport plat/js/web try_AudioContext_CreateMediaStreamSource
  1524  //go:noescape
  1525  func TryAudioContextCreateMediaStreamSource(
  1526  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1527  	mediaStream js.Ref) (ok js.Ref)
  1528  
  1529  //go:wasmimport plat/js/web has_AudioContext_CreateMediaStreamTrackSource
  1530  //go:noescape
  1531  func HasFuncAudioContextCreateMediaStreamTrackSource(this js.Ref) js.Ref
  1532  
  1533  //go:wasmimport plat/js/web func_AudioContext_CreateMediaStreamTrackSource
  1534  //go:noescape
  1535  func FuncAudioContextCreateMediaStreamTrackSource(this js.Ref, fn unsafe.Pointer)
  1536  
  1537  //go:wasmimport plat/js/web call_AudioContext_CreateMediaStreamTrackSource
  1538  //go:noescape
  1539  func CallAudioContextCreateMediaStreamTrackSource(
  1540  	this js.Ref, retPtr unsafe.Pointer,
  1541  	mediaStreamTrack js.Ref)
  1542  
  1543  //go:wasmimport plat/js/web try_AudioContext_CreateMediaStreamTrackSource
  1544  //go:noescape
  1545  func TryAudioContextCreateMediaStreamTrackSource(
  1546  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1547  	mediaStreamTrack js.Ref) (ok js.Ref)
  1548  
  1549  //go:wasmimport plat/js/web has_AudioContext_CreateMediaStreamDestination
  1550  //go:noescape
  1551  func HasFuncAudioContextCreateMediaStreamDestination(this js.Ref) js.Ref
  1552  
  1553  //go:wasmimport plat/js/web func_AudioContext_CreateMediaStreamDestination
  1554  //go:noescape
  1555  func FuncAudioContextCreateMediaStreamDestination(this js.Ref, fn unsafe.Pointer)
  1556  
  1557  //go:wasmimport plat/js/web call_AudioContext_CreateMediaStreamDestination
  1558  //go:noescape
  1559  func CallAudioContextCreateMediaStreamDestination(
  1560  	this js.Ref, retPtr unsafe.Pointer)
  1561  
  1562  //go:wasmimport plat/js/web try_AudioContext_CreateMediaStreamDestination
  1563  //go:noescape
  1564  func TryAudioContextCreateMediaStreamDestination(
  1565  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1566  
  1567  //go:wasmimport plat/js/web constof_AudioSampleFormat
  1568  //go:noescape
  1569  func ConstOfAudioSampleFormat(str js.Ref) uint32
  1570  
  1571  //go:wasmimport plat/js/web store_AudioDataInit
  1572  //go:noescape
  1573  func AudioDataInitJSStore(
  1574  	ptr unsafe.Pointer, ref js.Ref)
  1575  
  1576  //go:wasmimport plat/js/web load_AudioDataInit
  1577  //go:noescape
  1578  func AudioDataInitJSLoad(
  1579  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1580  
  1581  //go:wasmimport plat/js/web store_AudioDataCopyToOptions
  1582  //go:noescape
  1583  func AudioDataCopyToOptionsJSStore(
  1584  	ptr unsafe.Pointer, ref js.Ref)
  1585  
  1586  //go:wasmimport plat/js/web load_AudioDataCopyToOptions
  1587  //go:noescape
  1588  func AudioDataCopyToOptionsJSLoad(
  1589  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1590  
  1591  //go:wasmimport plat/js/web new_AudioData_AudioData
  1592  //go:noescape
  1593  func NewAudioDataByAudioData(
  1594  	init unsafe.Pointer) js.Ref
  1595  
  1596  //go:wasmimport plat/js/web get_AudioData_Format
  1597  //go:noescape
  1598  func GetAudioDataFormat(
  1599  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1600  
  1601  //go:wasmimport plat/js/web get_AudioData_SampleRate
  1602  //go:noescape
  1603  func GetAudioDataSampleRate(
  1604  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1605  
  1606  //go:wasmimport plat/js/web get_AudioData_NumberOfFrames
  1607  //go:noescape
  1608  func GetAudioDataNumberOfFrames(
  1609  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1610  
  1611  //go:wasmimport plat/js/web get_AudioData_NumberOfChannels
  1612  //go:noescape
  1613  func GetAudioDataNumberOfChannels(
  1614  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1615  
  1616  //go:wasmimport plat/js/web get_AudioData_Duration
  1617  //go:noescape
  1618  func GetAudioDataDuration(
  1619  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1620  
  1621  //go:wasmimport plat/js/web get_AudioData_Timestamp
  1622  //go:noescape
  1623  func GetAudioDataTimestamp(
  1624  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1625  
  1626  //go:wasmimport plat/js/web has_AudioData_AllocationSize
  1627  //go:noescape
  1628  func HasFuncAudioDataAllocationSize(this js.Ref) js.Ref
  1629  
  1630  //go:wasmimport plat/js/web func_AudioData_AllocationSize
  1631  //go:noescape
  1632  func FuncAudioDataAllocationSize(this js.Ref, fn unsafe.Pointer)
  1633  
  1634  //go:wasmimport plat/js/web call_AudioData_AllocationSize
  1635  //go:noescape
  1636  func CallAudioDataAllocationSize(
  1637  	this js.Ref, retPtr unsafe.Pointer,
  1638  	options unsafe.Pointer)
  1639  
  1640  //go:wasmimport plat/js/web try_AudioData_AllocationSize
  1641  //go:noescape
  1642  func TryAudioDataAllocationSize(
  1643  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1644  	options unsafe.Pointer) (ok js.Ref)
  1645  
  1646  //go:wasmimport plat/js/web has_AudioData_CopyTo
  1647  //go:noescape
  1648  func HasFuncAudioDataCopyTo(this js.Ref) js.Ref
  1649  
  1650  //go:wasmimport plat/js/web func_AudioData_CopyTo
  1651  //go:noescape
  1652  func FuncAudioDataCopyTo(this js.Ref, fn unsafe.Pointer)
  1653  
  1654  //go:wasmimport plat/js/web call_AudioData_CopyTo
  1655  //go:noescape
  1656  func CallAudioDataCopyTo(
  1657  	this js.Ref, retPtr unsafe.Pointer,
  1658  	destination js.Ref,
  1659  	options unsafe.Pointer)
  1660  
  1661  //go:wasmimport plat/js/web try_AudioData_CopyTo
  1662  //go:noescape
  1663  func TryAudioDataCopyTo(
  1664  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1665  	destination js.Ref,
  1666  	options unsafe.Pointer) (ok js.Ref)
  1667  
  1668  //go:wasmimport plat/js/web has_AudioData_Clone
  1669  //go:noescape
  1670  func HasFuncAudioDataClone(this js.Ref) js.Ref
  1671  
  1672  //go:wasmimport plat/js/web func_AudioData_Clone
  1673  //go:noescape
  1674  func FuncAudioDataClone(this js.Ref, fn unsafe.Pointer)
  1675  
  1676  //go:wasmimport plat/js/web call_AudioData_Clone
  1677  //go:noescape
  1678  func CallAudioDataClone(
  1679  	this js.Ref, retPtr unsafe.Pointer)
  1680  
  1681  //go:wasmimport plat/js/web try_AudioData_Clone
  1682  //go:noescape
  1683  func TryAudioDataClone(
  1684  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1685  
  1686  //go:wasmimport plat/js/web has_AudioData_Close
  1687  //go:noescape
  1688  func HasFuncAudioDataClose(this js.Ref) js.Ref
  1689  
  1690  //go:wasmimport plat/js/web func_AudioData_Close
  1691  //go:noescape
  1692  func FuncAudioDataClose(this js.Ref, fn unsafe.Pointer)
  1693  
  1694  //go:wasmimport plat/js/web call_AudioData_Close
  1695  //go:noescape
  1696  func CallAudioDataClose(
  1697  	this js.Ref, retPtr unsafe.Pointer)
  1698  
  1699  //go:wasmimport plat/js/web try_AudioData_Close
  1700  //go:noescape
  1701  func TryAudioDataClose(
  1702  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1703  
  1704  //go:wasmimport plat/js/web store_AudioDecoderInit
  1705  //go:noescape
  1706  func AudioDecoderInitJSStore(
  1707  	ptr unsafe.Pointer, ref js.Ref)
  1708  
  1709  //go:wasmimport plat/js/web load_AudioDecoderInit
  1710  //go:noescape
  1711  func AudioDecoderInitJSLoad(
  1712  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1713  
  1714  //go:wasmimport plat/js/web store_AudioDecoderConfig
  1715  //go:noescape
  1716  func AudioDecoderConfigJSStore(
  1717  	ptr unsafe.Pointer, ref js.Ref)
  1718  
  1719  //go:wasmimport plat/js/web load_AudioDecoderConfig
  1720  //go:noescape
  1721  func AudioDecoderConfigJSLoad(
  1722  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1723  
  1724  //go:wasmimport plat/js/web constof_EncodedAudioChunkType
  1725  //go:noescape
  1726  func ConstOfEncodedAudioChunkType(str js.Ref) uint32
  1727  
  1728  //go:wasmimport plat/js/web store_EncodedAudioChunkInit
  1729  //go:noescape
  1730  func EncodedAudioChunkInitJSStore(
  1731  	ptr unsafe.Pointer, ref js.Ref)
  1732  
  1733  //go:wasmimport plat/js/web load_EncodedAudioChunkInit
  1734  //go:noescape
  1735  func EncodedAudioChunkInitJSLoad(
  1736  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1737  
  1738  //go:wasmimport plat/js/web new_EncodedAudioChunk_EncodedAudioChunk
  1739  //go:noescape
  1740  func NewEncodedAudioChunkByEncodedAudioChunk(
  1741  	init unsafe.Pointer) js.Ref
  1742  
  1743  //go:wasmimport plat/js/web get_EncodedAudioChunk_Type
  1744  //go:noescape
  1745  func GetEncodedAudioChunkType(
  1746  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1747  
  1748  //go:wasmimport plat/js/web get_EncodedAudioChunk_Timestamp
  1749  //go:noescape
  1750  func GetEncodedAudioChunkTimestamp(
  1751  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1752  
  1753  //go:wasmimport plat/js/web get_EncodedAudioChunk_Duration
  1754  //go:noescape
  1755  func GetEncodedAudioChunkDuration(
  1756  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1757  
  1758  //go:wasmimport plat/js/web get_EncodedAudioChunk_ByteLength
  1759  //go:noescape
  1760  func GetEncodedAudioChunkByteLength(
  1761  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1762  
  1763  //go:wasmimport plat/js/web has_EncodedAudioChunk_CopyTo
  1764  //go:noescape
  1765  func HasFuncEncodedAudioChunkCopyTo(this js.Ref) js.Ref
  1766  
  1767  //go:wasmimport plat/js/web func_EncodedAudioChunk_CopyTo
  1768  //go:noescape
  1769  func FuncEncodedAudioChunkCopyTo(this js.Ref, fn unsafe.Pointer)
  1770  
  1771  //go:wasmimport plat/js/web call_EncodedAudioChunk_CopyTo
  1772  //go:noescape
  1773  func CallEncodedAudioChunkCopyTo(
  1774  	this js.Ref, retPtr unsafe.Pointer,
  1775  	destination js.Ref)
  1776  
  1777  //go:wasmimport plat/js/web try_EncodedAudioChunk_CopyTo
  1778  //go:noescape
  1779  func TryEncodedAudioChunkCopyTo(
  1780  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1781  	destination js.Ref) (ok js.Ref)
  1782  
  1783  //go:wasmimport plat/js/web store_AudioDecoderSupport
  1784  //go:noescape
  1785  func AudioDecoderSupportJSStore(
  1786  	ptr unsafe.Pointer, ref js.Ref)
  1787  
  1788  //go:wasmimport plat/js/web load_AudioDecoderSupport
  1789  //go:noescape
  1790  func AudioDecoderSupportJSLoad(
  1791  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
  1792  
  1793  //go:wasmimport plat/js/web constof_CodecState
  1794  //go:noescape
  1795  func ConstOfCodecState(str js.Ref) uint32
  1796  
  1797  //go:wasmimport plat/js/web new_AudioDecoder_AudioDecoder
  1798  //go:noescape
  1799  func NewAudioDecoderByAudioDecoder(
  1800  	init unsafe.Pointer) js.Ref
  1801  
  1802  //go:wasmimport plat/js/web get_AudioDecoder_State
  1803  //go:noescape
  1804  func GetAudioDecoderState(
  1805  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1806  
  1807  //go:wasmimport plat/js/web get_AudioDecoder_DecodeQueueSize
  1808  //go:noescape
  1809  func GetAudioDecoderDecodeQueueSize(
  1810  	this js.Ref, retPtr unsafe.Pointer) (ok js.Ref)
  1811  
  1812  //go:wasmimport plat/js/web has_AudioDecoder_Configure
  1813  //go:noescape
  1814  func HasFuncAudioDecoderConfigure(this js.Ref) js.Ref
  1815  
  1816  //go:wasmimport plat/js/web func_AudioDecoder_Configure
  1817  //go:noescape
  1818  func FuncAudioDecoderConfigure(this js.Ref, fn unsafe.Pointer)
  1819  
  1820  //go:wasmimport plat/js/web call_AudioDecoder_Configure
  1821  //go:noescape
  1822  func CallAudioDecoderConfigure(
  1823  	this js.Ref, retPtr unsafe.Pointer,
  1824  	config unsafe.Pointer)
  1825  
  1826  //go:wasmimport plat/js/web try_AudioDecoder_Configure
  1827  //go:noescape
  1828  func TryAudioDecoderConfigure(
  1829  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1830  	config unsafe.Pointer) (ok js.Ref)
  1831  
  1832  //go:wasmimport plat/js/web has_AudioDecoder_Decode
  1833  //go:noescape
  1834  func HasFuncAudioDecoderDecode(this js.Ref) js.Ref
  1835  
  1836  //go:wasmimport plat/js/web func_AudioDecoder_Decode
  1837  //go:noescape
  1838  func FuncAudioDecoderDecode(this js.Ref, fn unsafe.Pointer)
  1839  
  1840  //go:wasmimport plat/js/web call_AudioDecoder_Decode
  1841  //go:noescape
  1842  func CallAudioDecoderDecode(
  1843  	this js.Ref, retPtr unsafe.Pointer,
  1844  	chunk js.Ref)
  1845  
  1846  //go:wasmimport plat/js/web try_AudioDecoder_Decode
  1847  //go:noescape
  1848  func TryAudioDecoderDecode(
  1849  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1850  	chunk js.Ref) (ok js.Ref)
  1851  
  1852  //go:wasmimport plat/js/web has_AudioDecoder_Flush
  1853  //go:noescape
  1854  func HasFuncAudioDecoderFlush(this js.Ref) js.Ref
  1855  
  1856  //go:wasmimport plat/js/web func_AudioDecoder_Flush
  1857  //go:noescape
  1858  func FuncAudioDecoderFlush(this js.Ref, fn unsafe.Pointer)
  1859  
  1860  //go:wasmimport plat/js/web call_AudioDecoder_Flush
  1861  //go:noescape
  1862  func CallAudioDecoderFlush(
  1863  	this js.Ref, retPtr unsafe.Pointer)
  1864  
  1865  //go:wasmimport plat/js/web try_AudioDecoder_Flush
  1866  //go:noescape
  1867  func TryAudioDecoderFlush(
  1868  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1869  
  1870  //go:wasmimport plat/js/web has_AudioDecoder_Reset
  1871  //go:noescape
  1872  func HasFuncAudioDecoderReset(this js.Ref) js.Ref
  1873  
  1874  //go:wasmimport plat/js/web func_AudioDecoder_Reset
  1875  //go:noescape
  1876  func FuncAudioDecoderReset(this js.Ref, fn unsafe.Pointer)
  1877  
  1878  //go:wasmimport plat/js/web call_AudioDecoder_Reset
  1879  //go:noescape
  1880  func CallAudioDecoderReset(
  1881  	this js.Ref, retPtr unsafe.Pointer)
  1882  
  1883  //go:wasmimport plat/js/web try_AudioDecoder_Reset
  1884  //go:noescape
  1885  func TryAudioDecoderReset(
  1886  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1887  
  1888  //go:wasmimport plat/js/web has_AudioDecoder_Close
  1889  //go:noescape
  1890  func HasFuncAudioDecoderClose(this js.Ref) js.Ref
  1891  
  1892  //go:wasmimport plat/js/web func_AudioDecoder_Close
  1893  //go:noescape
  1894  func FuncAudioDecoderClose(this js.Ref, fn unsafe.Pointer)
  1895  
  1896  //go:wasmimport plat/js/web call_AudioDecoder_Close
  1897  //go:noescape
  1898  func CallAudioDecoderClose(
  1899  	this js.Ref, retPtr unsafe.Pointer)
  1900  
  1901  //go:wasmimport plat/js/web try_AudioDecoder_Close
  1902  //go:noescape
  1903  func TryAudioDecoderClose(
  1904  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1905  
  1906  //go:wasmimport plat/js/web has_AudioDecoder_IsConfigSupported
  1907  //go:noescape
  1908  func HasFuncAudioDecoderIsConfigSupported(this js.Ref) js.Ref
  1909  
  1910  //go:wasmimport plat/js/web func_AudioDecoder_IsConfigSupported
  1911  //go:noescape
  1912  func FuncAudioDecoderIsConfigSupported(this js.Ref, fn unsafe.Pointer)
  1913  
  1914  //go:wasmimport plat/js/web call_AudioDecoder_IsConfigSupported
  1915  //go:noescape
  1916  func CallAudioDecoderIsConfigSupported(
  1917  	this js.Ref, retPtr unsafe.Pointer,
  1918  	config unsafe.Pointer)
  1919  
  1920  //go:wasmimport plat/js/web try_AudioDecoder_IsConfigSupported
  1921  //go:noescape
  1922  func TryAudioDecoderIsConfigSupported(
  1923  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1924  	config unsafe.Pointer) (ok js.Ref)
  1925  
  1926  //go:wasmimport plat/js/web store_EncodedAudioChunkMetadata
  1927  //go:noescape
  1928  func EncodedAudioChunkMetadataJSStore(
  1929  	ptr unsafe.Pointer, ref js.Ref)
  1930  
  1931  //go:wasmimport plat/js/web load_EncodedAudioChunkMetadata
  1932  //go:noescape
  1933  func EncodedAudioChunkMetadataJSLoad(
  1934  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref