Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post processing step #77

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Apr 13, 2020

  1. Adds a way to manipulate the raw audio data for a specific DataSource…

    … before that it gets encoded.
    
    - DataSources now have an optional handler: "PostProcessor" that will be called for each input and output buffers, just like the resample ore remix classes, but the goal in this case is to do a custom manipulation of the final raw data. It can also be use to prevent the data from being sent to the encoder (by not not filling the outputBuffer in the postProcess method) . For example, it can be use to merge two audio DataSource.
    
    - Adds two PostProcessors that can be used to mix the audio of two DataSources: MixerSourceAudioPostProcessor is used accumulate and not write the raw audio data of the first DataSouce. MixerTargetAudioPostProcessor is used to do the mixing and write the mixed audio data to the output buffer when processing the second DataSource.
    
    - Adds an AudioPostProcessor to change the volume of a DataSource
    Christian Bernier committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    aebb3c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68198ce View commit details
    Browse the repository at this point in the history
  3. Revert "Add an example of AudioPostProcessor to mix the audio of 2 da…

    …ta sources."
    
    This reverts commit 68198ce.
    Christian Bernier committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    c029764 View commit details
    Browse the repository at this point in the history