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
73
74
75
[]
= "wasapi"
= "0.26.0"
= "2024"
# The library itself builds with 1.85. Note that some examples need a newer
# compiler, see the comments in [dev-dependencies].
= "1.85"
= ["HEnquist <henrik.enquist@gmail.com>"]
= "Bindings for the Wasapi API on Windows"
= "MIT"
= "https://github.com/HEnquist/wasapi-rs"
= ["audio", "sound", "windows", "wasapi"]
= ["multimedia::audio", "os::windows-apis"]
= "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[]
= "0.62.2"
= ["Foundation",
"Win32_Media_Audio",
"Win32_Media_Audio_Endpoints",
"Win32_Foundation",
"Win32_Devices_FunctionDiscovery",
"Win32_Devices_Properties",
"Win32_UI_Shell_PropertiesSystem",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_Media_KernelStreaming",
"Win32_Media_Multimedia",
"Win32_System_Threading",
"Win32_System_Variant",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_IO",]
[]
# Enables the device backed test suite in tests/device/. It needs a virtual
# audio cable to be installed, see .github/workflows/device-tests.yml.
# Not needed to use the crate.
= []
# Needs a real audio device, so it is not built or run by a plain `cargo test`.
# Run it with `cargo test --features device-tests --test device`.
# The root is main.rs so that `mod support` and the rest resolve inside
# tests/device/, which they would not do if the root were tests/device.rs.
[[]]
= "device"
= "tests/device/main.rs"
= ["device-tests"]
[]
= "0.4"
= "0.1"
= "0.62.2"
= "2.0"
[]
= "0.12"
# The device tests assert on specific AUDCLNT_E_* result codes, and the raw accessor
# tests activate an endpoint service and wait on several handles at once. Same version
# as the dependency above, so this pulls in nothing new.
= { = "0.62.2", = ["Win32_Media_Audio",
"Win32_Media_Audio_Endpoints",
"Win32_Foundation",
"Win32_System_Com",
"Win32_System_Threading"] }
= "0.10"
# sysinfo 0.38 requires Rust 1.88, which is higher than the rust-version of the
# library. Only the 'record_application' example uses it, so building the library
# still works with 1.85. Building the examples and running the tests needs 1.88.
= "0.38"
[]
= "x86_64-pc-windows-msvc"
= ["x86_64-pc-windows-msvc"]