Commit graph

798 commits

Author SHA1 Message Date
mitchmindtree
f8775b1e7b
Merge pull request #468 from endragor/android-support
Android support via Oboe
2020-10-27 12:26:33 +01:00
est31
58164830ae
Merge pull request #490 from johnnyegel/fix_jack_micros_to_stream_instant_overflow_panic
Fixed error in sub-second nanos calculation which caused overflow panic
2020-10-25 12:06:45 +01:00
Johnny Egeland
43d7363aa2 Fixed error in sub-second nanos calculation which caused overflow panic 2020-10-25 11:15:54 +01:00
Ruslan Mustakov
06cf00c08d Add Android as a supported host in README 2020-10-24 18:20:07 +07:00
Ruslan Mustakov
4e9d27266c Android support via Oboe 2020-10-24 15:42:21 +07:00
est31
a77758968f
Merge pull request #483 from nbraud/samplerate/ops
SampleRate: Implement std::ops::{Div, Mul}
2020-10-05 00:59:28 +02:00
nicoo
ec818828f5
SampleRate: Implement std::ops::{Div, Mul}
Closes #482
2020-10-04 15:07:49 +02:00
Erik Natanael Gustafsson
2b31fe41af
JACK Host (#389)
Co-authored-by: Federico Dolce <psykopear@gmail.com>
2020-10-01 18:04:43 +09:00
est31
5fec80e344
Merge pull request #470 from exrook/master
Handle ALSA overruns/underruns by resetting the PCM device
2020-09-11 20:57:58 +02:00
est31
c65fa84c24
Merge pull request #474 from rfwatson/webaudio-default-output-device
webaudio: Fix default_output_config
2020-09-11 19:55:32 +02:00
Rob Watson
0b300afefe wasm backends: Avoid a heap allocation in default_output_config() 2020-09-11 11:39:43 +02:00
Rob Watson
b5b6014edf wasm backends: Fix default_output_config behaviour 2020-09-11 09:29:00 +02:00
Jacob Hughes
6b91485781 ALSA: Fix 100% CPU usage after underrun
With my previous patch, after an underrun occurred sometimes polling the
alsa FDs would always return POLLIN immediately, but avail_frames would
be zero. Eventually avail_frames would become nonzero and audio output
would work, but poll would still return immediately afterwards.

Calling `stream.prepare()` when this happens seems to fix the issue after
a few loops.
2020-09-01 12:31:06 -04:00
Jacob Hughes
119ada803e Handle ALSA overruns/underruns by resetting the PCM device 2020-08-31 14:20:24 -04:00
est31
3d2fddc13e
Merge pull request #469 from exrook/master
Fix compilation error when using null host
2020-08-30 18:57:56 +02:00
Jacob Hughes
5ca70fe6fe Fix compilation error when using null host
Also remove other references to EventLoop

Add CI run for wasm32-wasi platform to test null host
2020-08-30 12:19:50 -04:00
mitchmindtree
65584037fe
Merge pull request #449 from JoshuaBatty/develop
adding in a link to the CPAL WASM guide into the Readme
2020-08-02 17:44:43 +02:00
mitchmindtree
bfffbb5241
Merge pull request #462 from AlexanderHarrison/master
Fix issue #461
2020-08-02 16:54:41 +02:00
mitchmindtree
f120f8979d
Merge pull request #451 from RustAudio/dependabot/npm_and_yarn/examples/wasm-beep/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19 in /examples/wasm-beep
2020-08-02 16:52:27 +02:00
AlexanderHarrison
104f04c9a1
Fix issue #461 2020-07-29 17:43:17 -06:00
est31
ecbb026e2b
Merge pull request #457 from richardmitic/raspberry-pi-c-long
Use alsa::pcm::Frames in alsa API calls instead of fixed-width integers.
2020-07-27 16:50:33 +02:00
Richard Mitic
cb49e4446c Use alsa::pcm::Frames in alsa API calls instead of fixed-width integers.
`alsa::pcm::Frames` resolves to `c_long` which is 32 bits when compiling
for raspberry pi (armv7l).
2020-07-27 14:18:41 +02:00
est31
7a8f017b1d
Release 0.12.1 (#456) 2020-07-23 01:28:42 +02:00
est31
7021c717a2
Merge pull request #455 from est31/asio-sys-release
Release asio-sys 0.2.0
2020-07-23 01:16:01 +02:00
est31
42ee11affc Depend on version 0.2 of asio-sys 2020-07-23 00:55:40 +02:00
est31
0b185514b8 Release asio-sys 0.2.0 2020-07-23 00:55:09 +02:00
est31
822d9da643 Update repo url of asio-sys 2020-07-22 23:38:54 +02:00
est31
13041efbfd
Update bindgen dep of asio-sys to 0.54.0 and num-derive to 0.3 (#454) 2020-07-22 23:36:50 +02:00
dependabot[bot]
518d2ea519
Bump lodash from 4.17.15 to 4.17.19 in /examples/wasm-beep
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 21:07:35 +00:00
JoshuaBatty
ce9a6c4fc3 adding in a link to the CPAL WASM guide into the Readme 2020-07-15 12:55:33 +02:00
mitchmindtree
997fb9fa8a
Merge pull request #438 from rfwatson/add-cmp-tests
Add test coverage for cmp_default_heuristics
2020-07-14 22:15:01 +02:00
Rob Watson
8a3dc611fa Fix compilation warnings 2020-07-14 22:05:55 +02:00
Rob Watson
c8fc1002cb Add test for cmp_default_heuristics 2020-07-14 22:05:55 +02:00
mitchmindtree
b78ff83c03
Merge pull request #401 from JoshuaBatty/buffersize_range
Prototyping an API for getting the supported min and max buffersizes
2020-07-14 14:35:46 +02:00
JoshuaBatty
e739dbf32d cargo fmt 2020-07-14 14:11:35 +02:00
JoshuaBatty
e854c4e54c added in sniperrifle2004 code from PR 431 2020-07-14 14:10:00 +02:00
JoshuaBatty
f285389002 fixed mismatched types in emscipten set_timeout 2020-07-14 13:51:49 +02:00
JoshuaBatty
4ce12a69b9 adds docs for BufferSize and fixes buffersize bugs in emscripten and alsa 2020-07-14 13:19:26 +02:00
est31
da40ea723e
Reenable the publish github workflow (#445)
The manual release of 0.12.0 is done.
Hopefully the issue is now resolved and in the future the CI can do it automatically.
2020-07-09 08:41:45 +02:00
est31
6ec1953424
Disable cargo publish invocation (#444)
To allow pushing to master after the 0.12.0 release.

The 0.12.0 release will be uploaded manually.
2020-07-09 07:41:20 +02:00
est31
62ba9a96b0
Publish version 0.12.0 (#443) 2020-07-09 06:40:17 +02:00
est31
ae0fc33b17
lazy_static and num-traits are only used by windows (#442) 2020-07-09 06:08:22 +02:00
Konstantin Baltruschat
b177bcdf22
Fix build error when cross compiling to 32bit targets (#430) 2020-06-17 16:21:31 +02:00
mitchmindtree
d28f559072
Merge pull request #425 from RustAudio/dependabot/npm_and_yarn/examples/wasm-beep/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.3 to 0.1.4 in /examples/wasm-beep
2020-06-10 13:20:15 +02:00
dependabot[bot]
28653694a9
Bump websocket-extensions from 0.1.3 to 0.1.4 in /examples/wasm-beep
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 08:31:36 +00:00
JoshuaBatty
271cc34f3f cargo fmt fix for coreaudio 2020-05-27 13:28:18 +02:00
JoshuaBatty
10599ac826 fixed coreaudio buffersize errors 2020-05-27 13:15:44 +02:00
JoshuaBatty
9c85eecb59 cargo fmt fix 2020-05-27 12:15:31 +02:00
JoshuaBatty
7c1adce330 adds support for buffersizes in webaudio and emscripten 2020-05-27 12:05:55 +02:00
JoshuaBatty
cf1a928b84 reset examples 2020-05-26 14:55:55 +02:00