Home
last modified time | relevance | path

Searched refs:cpal (Results 1 – 25 of 432) sorted by path

12345678910>>...18

/dports/audio/faust/faust-2.37.3/architecture/
H A Dcpal.rs29 extern crate cpal;
30 use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
109 println!("Supported hosts:\n {:?}", cpal::ALL_HOSTS); in main()
110 let available_hosts = cpal::available_hosts(); in main()
115 let host = cpal::host_from_id(host_id)?; in main()
/dports/audio/faust/faust-2.37.3/tools/faust2appls/
H A Dfaust2cpalrust15 ARCHFILE=$FAUSTARCH/minimal-cpal.rs
/dports/audio/ncspot/
H A D.license-catalog.mk5 …reaudio-rs-0.10.0.crate rust/crates/coreaudio-sys-0.2.8.crate rust/crates/cpal-0.13.4.crate rust/c…
/dports/audio/ncspot/ncspot-0.9.3/
H A DCargo.lock506 name = "cpal"
1510 "cpal",
2661 "cpal",
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/cpal-0.13.4/.github/workflows/
H A Dcpal.yml1 name: cpal
62 - name: Run cargo publish for cpal
68 - name: Check if cpal is already published
311 …run: cd examples/ios-feedback && xcodebuild -scheme cpal-ios-example -configuration Debug -derived…
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/cpal-0.13.4/
H A DCargo.lock248 name = "cpal"
H A DCargo.toml14 name = "cpal"
18 documentation = "https://docs.rs/cpal"
21 repository = "https://github.com/rustaudio/cpal"
H A DCargo.toml.orig-cargo2 name = "cpal"
6 repository = "https://github.com/rustaudio/cpal"
7 documentation = "https://docs.rs/cpal"
H A DREADME.md3 …ctions Status](https://github.com/RustAudio/cpal/workflows/cpal/badge.svg)](https://github.com/Rus…
4 …mg.shields.io/crates/v/cpal.svg)](https://crates.io/crates/cpal) [![docs.rs](https://docs.rs/cpal/…
32 …sing CPAL with WASM, please see [this guide](https://github.com/RustAudio/cpal/wiki/Setting-up-a-n…
93 host = cpal::host_from_id(cpal::HostId::Asio).expect("failed to initialise ASIO host");
109 cpal = { version = "*", features = ["asio"] }
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/cpal-0.13.4/examples/
H A Dandroid.rs4 extern crate cpal;
6 use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
10 let host = cpal::default_host(); in main()
19 cpal::SampleFormat::F32 => run::<f32>(&device, &config.into()).unwrap(), in main()
20 cpal::SampleFormat::I16 => run::<i16>(&device, &config.into()).unwrap(), in main()
21 cpal::SampleFormat::U16 => run::<u16>(&device, &config.into()).unwrap(), in main()
25 fn run<T>(device: &cpal::Device, config: &cpal::StreamConfig) -> Result<(), anyhow::Error> in run()
27 T: cpal::Sample, in run()
43 move |data: &mut [T], _: &cpal::OutputCallbackInfo| { in run()
57 T: cpal::Sample, in write_data()
[all …]
H A Dbeep.rs3 extern crate cpal;
5 use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
57 cpal::host_from_id(cpal::available_hosts() in main()
59 .find(|id| *id == cpal::HostId::Jack) in main()
64 cpal::default_host() in main()
71 let host = cpal::default_host(); in main()
92 pub fn run<T>(device: &cpal::Device, config: &cpal::StreamConfig) -> Result<(), anyhow::Error> in run()
94 T: cpal::Sample, in run()
110 move |data: &mut [T], _: &cpal::OutputCallbackInfo| { in run()
124 T: cpal::Sample, in write_data()
[all …]
H A Denumerate.rs2 extern crate cpal;
4 use cpal::traits::{DeviceTrait, HostTrait};
7 println!("Supported hosts:\n {:?}", cpal::ALL_HOSTS); in main()
8 let available_hosts = cpal::available_hosts(); in main()
13 let host = cpal::host_from_id(host_id)?; in main()
H A Dfeedback.rs11 extern crate cpal;
15 use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
88 cpal::host_from_id(cpal::available_hosts() in main()
90 .find(|id| *id == cpal::HostId::Jack) in main()
95 cpal::default_host() in main()
102 let host = cpal::default_host(); in main()
125 let config: cpal::StreamConfig = input_device.default_input_config()?.into(); in main()
142 let input_data_fn = move |data: &[f32], _: &cpal::InputCallbackInfo| { in main()
154 let output_data_fn = move |data: &mut [f32], _: &cpal::OutputCallbackInfo| { in main()
196 fn err_fn(err: cpal::StreamError) { in err_fn()
H A Drecord_wav.rs7 extern crate cpal;
10 use cpal::traits::{DeviceTrait, HostTrait, StreamTrait};
65 cpal::host_from_id(cpal::available_hosts() in main()
67 .find(|id| *id == cpal::HostId::Jack) in main()
72 cpal::default_host() in main()
79 let host = cpal::default_host(); in main()
143 cpal::SampleFormat::U16 => hound::SampleFormat::Int, in sample_format()
144 cpal::SampleFormat::I16 => hound::SampleFormat::Int, in sample_format()
162 T: cpal::Sample, in write_input_data()
163 U: cpal::Sample + hound::Sample, in write_input_data()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/librespot-playback-0.3.1/
H A DCargo.toml27 [dependencies.cpal]
122 rodio-backend = ["rodio", "cpal"]
123 rodiojack-backend = ["rodio", "cpal/jack"]
H A DCargo.toml.orig-cargo43 cpal = { version = "0.13", optional = true }
58 rodio-backend = ["rodio", "cpal"]
59 rodiojack-backend = ["rodio", "cpal/jack"]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/librespot-playback-0.3.1/src/audio_backend/
H A Drodio.rs5 use cpal::traits::{DeviceTrait, HostTrait};
22 Box::new(open(cpal::default_host(), device, format))
28 cpal::host_from_id(cpal::HostId::Jack).unwrap(),
45 DevicesError(#[from] cpal::DevicesError),
99 fn list_outputs(host: &cpal::Host) -> Result<(), cpal::DevicesError> {
135 host: &cpal::Host,
170 pub fn open(host: cpal::Host, device: Option<String>, format: AudioFormat) -> RodioSink {
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rodio-0.14.0/
H A DCHANGELOG.md3 - Re-export `cpal` in full.
15 - Update `cpal` to [0.13](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0130-2…
20 - Breaking: Update `cpal` to [0.12](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#vers…
21 …rk API removing global "rodio audio processing" thread & adapting to the upstream cpal API changes.
28 - Breaking: Update `cpal` to [0.11](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#vers…
35 - Breaking: Update `cpal` to [0.10](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#vers…
53 - Update `cpal` dependency to 0.8, and adopt the new naming convention
H A DCargo.lock166 name = "cpal"
716 "cpal",
H A DCargo.toml27 [dependencies.cpal]
49 wasm-bindgen = ["cpal/wasm-bindgen"]
H A DCargo.toml.orig-cargo13 cpal = "0.13"
26 wasm-bindgen = ["cpal/wasm-bindgen"]
H A DREADME.md9 - Playback is handled by [cpal](https://github.com/RustAudio/cpal).
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rodio-0.14.0/src/conversions/
H A Dchannels.rs8 from: cpal::ChannelCount,
9 to: cpal::ChannelCount,
11 next_output_sample_pos: cpal::ChannelCount,
27 from: cpal::ChannelCount, in new()
28 to: cpal::ChannelCount, in new()
H A Dsample.rs1 use cpal::Sample as CpalSample;
H A Dsample_rate.rs18 channels: cpal::ChannelCount,
46 from: cpal::SampleRate, in new()
47 to: cpal::SampleRate, in new()
48 num_channels: cpal::ChannelCount, in new()
255 use cpal::SampleRate;

12345678910>>...18