class TestEffectsV2

Defined at line 21 of file ../../src/media/audio/effects/test_effects/test_effects_v2.h

This class provides a simple interface for constructing ProcessorCreator servers in tests.

Public Methods

void TestEffectsV2 (async_dispatcher_t * dispatcher)

If the dispatcher is not specified, use an internal dispatcher that runs on a separate thread.

Defined at line 89 of file ../../src/media/audio/effects/test_effects/test_effects_v2.cc

void ~TestEffectsV2 ()

Must be defined in this file because TestProcessor is defined in this file.

Defined at line 98 of file ../../src/media/audio/effects/test_effects/test_effects_v2.cc

zx_status_t AddEffect (Effect effect)

Creates a new effect. The name must be unique.

Defined at line 100 of file ../../src/media/audio/effects/test_effects/test_effects_v2.cc

zx_status_t ClearEffects ()

Removes all effects. This will close all open processor channels with ZX_ERR_PEER_CLOSED.

Must not call concurrently with effects processing.

Defined at line 114 of file ../../src/media/audio/effects/test_effects/test_effects_v2.cc

fidl::ClientEnd<fuchsia_audio_effects::ProcessorCreator> NewClient ()

Create a client connection to the ProcessorCreator server held by this class.

Defined at line 119 of file ../../src/media/audio/effects/test_effects/test_effects_v2.cc

void HandleRequest (fidl::ServerEnd<fuchsia_audio_effects::ProcessorCreator> server_end)

Handle an incoming client request.

Defined at line 129 of file ../../src/media/audio/effects/test_effects/test_effects_v2.cc

Records