class SwapEffect
Defined at line 21 of file ../../src/media/audio/examples/effects/swap_effect.h
SwapEffect: an example of an in-place effect with no controls. It has a channel
restriction: it must be stereo-in and stereo-out. This effect swaps the left
and right channels, and does so without adding latency.
Public Members
static const uint16_t kNumChannelsIn
static const uint16_t kNumChannelsOut
static const uint32_t kLatencyFrames
Public Methods
bool GetInfo (fuchsia_audio_effects_description * desc)
Defined at line 27 of file ../../src/media/audio/examples/effects/swap_effect.h
SwapEffect * Create (uint32_t frame_rate, uint16_t channels_in, uint16_t channels_out, std::string_view )
Defined at line 34 of file ../../src/media/audio/examples/effects/swap_effect.h
void SwapEffect (uint32_t frame_rate, uint16_t channels)
Defined at line 41 of file ../../src/media/audio/examples/effects/swap_effect.h
bool ProcessInplace (uint32_t num_frames, float * audio_buff)
Defined at line 44 of file ../../src/media/audio/examples/effects/swap_effect.h