class CustomStageTest
Defined at line 149 of file ../../src/media/audio/services/mixer/mix/custom_stage_unittest.cc
Public Methods
void CustomStageTest ()
Defined at line 158 of file ../../src/media/audio/services/mixer/mix/custom_stage_unittest.cc
template <class T>
void TestAddOneWithSinglePacket (ProcessorInfo<T> info, int64_t packet_frames, int64_t read_buffer_frames)
A simple test case where the source is a packet queue with a single packet of the given size.
The test makes two `Read` calls:
1. Read(0, packet_frames), which should return a buffer of size `read_buffer_frames`
containing data processed by the AddOne effect.
2. Read(packet_frames, packet_frames), which should return `std::nullopt`.
Defined at line 262 of file ../../src/media/audio/services/mixer/mix/custom_stage_unittest.cc