Commit graph

1012 commits

Author SHA1 Message Date
est31
0965eadd5e
Merge pull request #715 from est31/changelog_0_14_1
Add changelog for 0.14.1
2022-10-23 21:00:11 +02:00
mbodmer
97fc4edb8b
Bump linux deps, simplify examples, remove nix dep (#712)
* bump linux dependencies, dev-dependencies, anyhow, hound, ringbuf

* update to clap v4 and simplify examples with clap_derive

* have libjack installed when running with --all-features

* don't force the patch version for libc

* allow room for version resolution with nix

* nix dependency not used anymore, remove it
2022-10-23 20:59:45 +02:00
est31
c28d89e015 Add changelog for 0.14.1 2022-10-23 20:51:50 +02:00
est31
4b49fbd259
Merge pull request #711 from mbodmer/update_nix_to_0.25
update nix crate to v0.25
2022-10-20 20:43:49 +02:00
Marc Bodmer
16617ceade update nix crate to v0.25 2022-10-20 16:03:47 +02:00
mbodmer
0a3e8c2208
add timeout paramter to DeviceTrait stream builders (#696)
* add timeout paramter to DeviceTrait stream builders

This makes it possible for the library client to handle situations where the host
takes too long to respond or even blocks forever, eg. a retry can be applied.

if the timeout passed is "None" the current behaviour is applied, eg. blocking forever.
if the timeout passed is a Duration then it will be applied to the Device Streams.
This is only implemented for ALSA, the other hosts will ignore the parameter for now.

Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch>
2022-10-18 18:15:31 +02:00
est31
def424809b
Merge pull request #707 from generalelectrix/core-audio-disconnect-device
Implement disconnection detection for CoreAudio on MacOS.
2022-10-12 18:12:22 +02:00
general electrix
3d99456c2b Remove debug print statement. 2022-10-11 03:08:10 -07:00
general electrix
d1bbbe0400 Fix docstring grammar. 2022-10-11 03:06:34 -07:00
general electrix
97af8b77ae Respond to code review tidbits. 2022-10-11 02:59:02 -07:00
general electrix
0af6a1c466 Refactor disconnection to trigger error_callback. 2022-10-11 02:55:03 -07:00
general electrix
baa697c7fc Implement disconnection detection for CoreAudio on MacOS.
* Create AudioObjectPropertyListener type, providing an easy way to attach a Rust callback.
* Refactor the existing sample rate update mechanism to use AudioObjectPropertyListener.
* Add an optional property listener that registers a callback that is triggered on device disconnection.
* Create a set_on_disconnect method to register the disconnection callback.
2022-10-09 13:29:04 -07:00
pin
73a035617b
Fix CI failure (#705) 2022-10-08 14:55:50 +02:00
Kai Giebeler
85d773d59f Migrate Sample to dasp_sample (#689) 2022-10-07 14:08:54 +02:00
est31
8c31e908b0
Merge pull request #693 from 0323pin/master
Add NetBSD support
2022-10-07 00:02:37 +02:00
est31
f371474a44
Merge pull request #702 from Luni-4/publish
CI: Ignore unpublished changes for the publish action
2022-10-06 18:50:33 +02:00
Luni-4
9f400c6fa5 CI: Ignore unpublished changes for the publish action 2022-10-06 18:30:11 +02:00
est31
2c2f0b4892
Merge pull request #701 from Luni-4/publish
CI: Set no-verify to true for publish job
2022-10-06 18:03:21 +02:00
Luni-4
ef9fb39d34 CI: Set no-verify to true for publish job 2022-10-06 17:37:13 +02:00
est31
1a4f50dcfa
Merge pull request #700 from Luni-4/publish
CI: Set check-repo to false
2022-10-06 17:03:23 +02:00
Luni-4
a1e37c3e94 CI: Set check repo to false 2022-10-06 16:46:57 +02:00
est31
e5f459bd84
Merge pull request #694 from Luni-4/publish
Use an action to publish the crate
2022-10-06 12:30:05 +02:00
Luni-4
047129be9f Use an action to publish the crate 2022-09-30 13:00:59 +02:00
pin
0f8cd7a9c8 Add NetBSD support 2022-09-25 07:54:19 +02:00
est31
f19ceeb8e0
Merge pull request #691 from kawogi/edition-2021
Fix some Edition 2021 warnings/errors
2022-09-20 22:27:45 +02:00
Kai Giebeler
e78a847272 fix some clippy warnings 2022-09-20 21:51:20 +02:00
Kai Giebeler
08acedd677 fix towards edition 2021 2022-09-20 21:47:35 +02:00
est31
1ac8f1549f
Merge pull request #687 from est31/release_0_14_0
Release 0.14.0
2022-08-22 23:42:33 +02:00
est31
5dab2eda88 Release 0.14.0 2022-08-22 22:57:31 +02:00
est31
5b038a0d22 Changelog for 0.14.0 2022-08-22 22:55:20 +02:00
est31
7a537d8d3c Changelog for 0.13.5 2022-08-22 22:38:40 +02:00
Aceeri
9b7bb33965
Bump ndk/ndk-glue to 0.7 (#685) 2022-08-03 01:35:50 +02:00
Osspial
417b7fff6f
Implement BufferSize::Fixed in wasapi, and migrate wasapi to officially-supported Windows crate (#669)
I migrated to `windows-rs` in this PR since exposing the buffer size range for hardware-offloaded audio processing requires `IAudioClient2`, which isn't exposed in the `winapi` crate, and `winapi` seems to be more or less unmaintained at this point.

* Basic type conversion

* Make everything compile!

* Fix warnings

* Implement buffer sizing for wasapi

* Convert tabs to spaces

* Run cargo fmt

* Remove winapi from Cargo.toml

* Remove unused commented code from wasapi, and fix lingering TODOs

* Fix compile error

* Update to windows 0.37.0

* Run rustfmt

* Work around rustfmt nested tuple issues

* Improve readability of guid comparison code
2022-07-15 14:59:45 +02:00
yamadapc
493a0904f3 Also export constructor for SupportedStreamConfig
This is related to #535.
2022-07-06 22:11:23 +02:00
yamadapc
411c671c33 Add constructor for SupportedStreamConfigRange
This is related to #535.
2022-07-06 22:11:23 +02:00
alula
32cee3949b
Return Device(None) as a default i/o device (#638)
In most cases, device with index 0 is NOT the default output device - in my case it happens to be the ear speaker. Returning Device(None) there makes Oboe choose the default input/output device - everything works as expected.
2022-06-07 07:46:24 +02:00
James Liu
223f28262a
Update dependencies, switch to once_cell (#673) 2022-06-06 02:18:23 +02:00
Rodrigo Batista de Moraes
b1457e5945
webaudio: expose AudioContext in WebAudioStream (#659) 2022-04-26 03:21:41 +02:00
Rodrigo Batista de Moraes
8d164ed585
Expose underlying platform specific implemenations (#660)
* expose underlying platform specific implemenations

* add doc to Inner enums

* fix: return `&mut` from `as_inner_mut`
2022-04-26 03:11:14 +02:00
S. A. Bjørn
a420316e30
Fix example typos (#655)
both feedback.rs and record_wav.rs have "bleep" as their application name when constructing clap::Command. This commit changes the constructor argument for each example to match their filenames.
2022-03-24 16:21:44 +01:00
est31
f0d47204c9
Merge pull request #654 from lu-zero/alsa-fallback
Fallback to monotonic timestamp if monotonic_raw can be set up
2022-03-22 21:28:56 +01:00
Luca Barbato
a540a98b0a Fallback to monotonic timestamp if monotonic_raw can be set up
Fixes #606
2022-03-22 21:24:41 +01:00
Tatsuyuki Ishi
190e48d7ff
Merge pull request #653 from ishitatsuyuki/feature-platform-impl
platform: Conditional impl_platform_host based on feature flags
2022-03-20 09:59:56 +09:00
Tatsuyuki Ishi
6ea33722ff platform: Conditional impl_platform_host based on feature flags 2022-03-18 16:36:29 +09:00
est31
9748543025
Merge pull request #648 from kaihagseth/fix/follow-default-osx
fix: follow default output source on mac osx
2022-02-28 17:01:57 +01:00
Kai Hagseth
d50e0ecbac fix: follow default output source on mac osx
When playing out on default output source, follow the default output
source chosen in sound preferences in osx.
2022-02-28 09:37:17 +01:00
est31
bf026fe082
Merge pull request #646 from rex4539/typos
Fix typos
2022-02-19 17:16:47 +01:00
Dimitris Apostolou
1cd0caf8b6
Fix typos 2022-02-19 18:14:34 +02:00
est31
da3dbba697
Merge pull request #644 from remilauzier/master
Update jack and parking_lot
2022-02-18 23:05:23 +01:00
Rémi Lauzier
7c0e4eb1e5
Update jack and parking_lot 2022-02-18 14:24:33 -05:00