chore(deps): update rust crate cpal to 0.17.0 #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.16.0→0.17.0Release Notes
RustAudio/cpal (cpal)
v0.17.1Compare Source
Added
Defaultimplementation forDevice(returns the ALSA "default" device).Changed
Fixed
v0.17.0Compare Source
Added
DeviceTrait::idmethod that returns a stable audio device ID.HostTrait::device_by_idto select a device by its stable ID.DisplayandFromStrimplementations forHostId.Hosts,Devices, andStreams.Sample::bits_per_samplemethod.Copyimplementation toInputCallbackInfoandOutputCallbackInfo.StreamError::StreamInvalidatedvariant for when stream must be rebuilt.StreamError::BufferUnderrunvariant for buffer underrun/overrun notifications.Hashimplementation toDevicefor all backends.SendandSyncimplementations toStream.I24andU24sample format support (24-bit samples stored in 4 bytes).EqandPartialEqimplementations toDevice.i8,i32andI24sample format support (24-bit samples stored in 4 bytes).Sendimplementation toStream.BufferSize::Fixedvalidation against supported range.BufferSize::Fixedvalidation to reject requests that don't match server buffer size.IMMDevicefrom WASAPI host Device.I24andU24sample format support (24-bit samples stored in 4 bytes).SendandSyncimplementations toStream.SendandSyncimplementations toStream.BufferSize::Fixedvalidation against supported range.Changed
SampleRatefrom struct tou32type alias.audio_thread_priorityto 0.34.BufferSize::Fixedprecision and audio callback performance.BufferSize::Defaultto use the device defaults.aplay -Ldoes.alsato 0.10.silent=truetoPCM.try_recover, so it doesn't write to stderr.StreamError::BufferUnderrun.sys::Asioinstance across allHostinstances.cargo updatesyntax for compatibility with Cargo 1.70 (use-pflag instead of positional argument).Device::supported_configsto return a single element containing the available sample rate range when all elements have the samemMinimumandmMaximumvalues.Cloneimplementation fromStream.StreamError::StreamInvalidatedfor JACK server sample rate changes.StreamError::BufferUnderrun.windowsto >= 0.59, <= 0.62.Fixed
kAsioResetRequestmessage to prevent driver UI becoming unresponsive.Removed
wee-allocfeature for security reasons.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.