Skip to content

Adjusting AlgorithmicReverbModifier's RoomSize and Damp Properties Causes Exceptions  #20

Description

@Mioter

After switching to the source code, the previously reported Seek()-related issue no longer occurs. Therefore, this issue has been updated to reflect the current problem.

However, adjusting the RoomSize and Damp properties of the AlgorithmicReverbModifier during playback still throws an exception.

Image

Exception Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object.  
   at SoundFlow.Modifiers.AlgorithmicReverbModifier.ProcessSample(Single sample, Int32 channel) in D:\QAQ\Project\Avalonia\QwQ Music\Src\Modifiers\AlgorithmicReverbModifier.cs:line 285  
   at SoundFlow.Abstracts.SoundModifier.Process(Span`1 buffer) in D:\QAQ\Project\Avalonia\QwQ Music\Src\Abstracts\SoundModifier.cs:line 27  
   at SoundFlow.Abstracts.SoundComponent.Process(Span`1 outputBuffer) in D:\QAQ\Project\Avalonia\QwQ Music\Src\Abstracts\SoundComponent.cs:line 322  
   at SoundFlow.Components.Mixer.GenerateAudio(Span`1 buffer) in D:\QAQ\Project\Avalonia\QwQ Music\Src\Components\Mixer.cs:line 89  
   at SoundFlow.Abstracts.SoundComponent.Process(Span`1 outputBuffer) in D:\QAQ\Project\Avalonia\QwQ Music\Src\Abstracts\SoundComponent.cs:line 300  
   at SoundFlow.Abstracts.AudioEngine.ProcessGraph(IntPtr output, Int32 length) in D:\QAQ\Project\Avalonia\QwQ Music\Src\Abstracts\AudioEngine.cs:line 239  
   at SoundFlow.Backends.MiniAudio.MiniAudioEngine.AudioCallback(IntPtr _, IntPtr output, IntPtr input, UInt32 length) in D:\QAQ\Project\Avalonia\QwQ Music\Src\Backends\MiniAudio\MiniAudioEngine.cs:line 86  

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions