Open
Conversation
1c84450 to
46e5fcc
Compare
46e5fcc to
274965d
Compare
274965d to
17d023b
Compare
17d023b to
6ca1a36
Compare
6ca1a36 to
a0c7212
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.20.1→0.22.0Release Notes
RustAudio/rodio (rodio)
v0.22.1Compare Source
Fixed
v0.22.0Compare Source
v0.21.1Compare Source
Changed
cpalto v0.16.Fixed
Source::whiteandSource::pinkfunctions.v0.21.0Compare Source
Added
Source::amplify_decibel()method to control volume by decibels.Source::amplify_normalized()method to perceptually modify volume.Sourceto awavfile, enable thewav_outputfeature and seeoutput_to_wav.sawtooths have been added.
SignalGeneratorpatterns with anfn, seeGeneratorFunction.cpalaudio output are now supported.See
README.mdfor instructions. (#349)Sample::is_zero()method for checking zero samples.DecoderBuilderfor improved configuration.Pausable::is_paused()method for checking if source is paused.Decoder::TryFromforFilenow automatically wraps inBufReaderand setsbyte_len.TryFrom<Cursor<T>>andTryFrom<BufReader>are also supported.Source::distortion()method to control distortion effect bygainandthreshold.OutputStream::config()method to access anOutputStream'sOutputStreamConfigoncean
OutputStreamhas been built.OutputStreamConfig::channel_count(),OutputStreamConfig::sample_rate(),OutputStreamConfig::buffer_size()andOutputStreamConfig::sample_format()getters to accessan
OutputStreamConfig's channel count, sample rate, buffer size and sample format values.Source::limit()method for limiting the maximum amplitude of a source.WhiteGaussian,WhiteTriangular,Blue,Brownian,Violet,and
Velvet.Changed
OutputStreamBuildershould now be used to initialize an audio output stream.OutputStreamHandleremoved, useOutputStreamandOutputStream::mixer()instead.DynamicMixerControllerrenamed toMixer,DynamicMixerrenamed toMixerSource.Sink::try_newrenamed toconnect_newand does not return error anymore.Sink::new_idlewas renamed tonew.symphonia::SeekErrorhas a new variantAccurateSeekNotSupportedand variants
RetryingandRefininghave been removed. Catching this errormay allow a caller to retry in coarse seek mode.
symphonia::SeekErrorhas a new variantRandomAccessNotSupported. This error usually means that you are trying to seek backward withoutis_seekableorbyte_lenset: useDecoder::try_fromorDecoderBuilderfor that.Sourcetrait, the methodcurrent_frame_len()was renamed tocurrent_span_len().Decodernow outputsf32samples.LoopedDecodernow returnsNoneif seeking fails during loop reset.ReadSeekSource::new()now takesSettings.f32samples. To convert to and from other types of samples use functions fromdasp_samplecrate. For exampleDaspSample::from_sample(sample).WhiteNoiseandPinkNoisehave been renamed tonoise::WhiteUniformandnoise::Pink.symphonia-wavwas.OutputStreamConfigis now public.OutputStreamnow prints when it is dropped, can be disabled withOutputStream::log_on_drop(false).cpalto 0.16.claxonfor FLAC,lewtonfor Vorbis, andhoundfor WAV.Fixed
ChannelVolumeno longer clips/overflows when converting from many channels tofewer.
total_durationincorrect value caused by conversion fromTimetoDuration.SignalGeneratorthat caused it to create increasingly distorted waveformsover long run times has been corrected. (#201)
correctly.
LoopedDecoder::size_hintnow correctly indicates an infinite stream.total_durationno longer returnsNonewhen it couldreturn
SomeDeprecated
Sample::zero_value()function in favor ofSample::ZERO_VALUEconstant.white()andpink()methods in favor ofnoise::WhiteUniform::new()andnoise::Pink::new().Removed
Mp4Typeenum in favor of using MIME type string "audio/mp4" for MP4 format detection withDecoder::new_mp4(#612).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.