Mauricio Collares
Mauricio Collares
See, for example, https://github.com/servo/media/blob/86b9a2892af3774e42243ac84394a052719b2bf6/audio/buffer_source_node.rs#L222 I think this should work, per spec, but I haven't tested it.
This might be useful for subsample-accurate OscillatorNode output. AudioBufferSourceNode stores this at https://github.com/servo/media/blob/86b9a2892af3774e42243ac84394a052719b2bf6/audio/buffer_source_node.rs#L91
We use linear interpolation, as does Blink. Firefox uses libspeex for resampling, which has rust bindings. See https://github.com/servo/media/blob/86b9a2892af3774e42243ac84394a052719b2bf6/audio/buffer_source_node.rs#L390 This interacts interestingly with looping, because samples outside the loop window can...
See https://github.com/servo/media/blob/86b9a2892af3774e42243ac84394a052719b2bf6/audio/buffer_source_node.rs#L125 The spec doesn't clarify how the adjustment should be made. There's one thing to keep in mind: Even for fixed loop endpoints, self.buffer_pos can be slightly outside the...
By default, Nix builders set HOME to `/homeless-shelter`, under the expectation that creating it or writing to it will fail. Using `nix-user-chroot`, this can succeed. In my case, I was...
The key thing to be aware of when using Lean projects is that you should open the root directory (the one containing the `lean-toolchain` file) in VS Code using the...
**Describe the issue or bug** Our Linux distribution (NixOS) started seeing `rpy2` test failures under Python 3.11.9 after upgrading to R 4.4.0. The following test case, minimized from `tests/Interface/test_embedded.py:test_parse_error_when_evaluating`, segfaults...