1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = AudioListener , typescript_type = "AudioListener")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `AudioListener` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub type AudioListener;
    # [wasm_bindgen (structural , method , getter , js_class = "AudioListener" , js_name = dopplerFactor)]
    #[doc = "Getter for the `dopplerFactor` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub fn doppler_factor(this: &AudioListener) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "AudioListener" , js_name = dopplerFactor)]
    #[doc = "Setter for the `dopplerFactor` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/dopplerFactor)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub fn set_doppler_factor(this: &AudioListener, value: f64);
    # [wasm_bindgen (structural , method , getter , js_class = "AudioListener" , js_name = speedOfSound)]
    #[doc = "Getter for the `speedOfSound` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub fn speed_of_sound(this: &AudioListener) -> f64;
    # [wasm_bindgen (structural , method , setter , js_class = "AudioListener" , js_name = speedOfSound)]
    #[doc = "Setter for the `speedOfSound` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/speedOfSound)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub fn set_speed_of_sound(this: &AudioListener, value: f64);
    # [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setOrientation)]
    #[doc = "The `setOrientation()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setOrientation)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub fn set_orientation(
        this: &AudioListener,
        x: f64,
        y: f64,
        z: f64,
        x_up: f64,
        y_up: f64,
        z_up: f64,
    );
    # [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setPosition)]
    #[doc = "The `setPosition()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setPosition)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub fn set_position(this: &AudioListener, x: f64, y: f64, z: f64);
    # [wasm_bindgen (method , structural , js_class = "AudioListener" , js_name = setVelocity)]
    #[doc = "The `setVelocity()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/setVelocity)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `AudioListener`*"]
    pub fn set_velocity(this: &AudioListener, x: f64, y: f64, z: f64);
}