template <fuchsia::media::AudioSampleFormat SampleFormat>
class VirtualInput
Defined at line 117 of file ../../src/media/audio/audio_core/testing/integration/virtual_device.h
Public Methods
void WriteRingBufferAt (size_t ring_pos_in_frames, AudioBufferSlice<SampleFormat> slice)
Write a slice to the ring buffer at the given absolute frame number.
Defined at line 122 of file ../../src/media/audio/audio_core/testing/integration/virtual_device.h
void VirtualInput<SampleFormat> (TestFixture *fixture,HermeticAudioRealm *realm,const audio_stream_unique_id_t &device_id,Formatformat,int64_tframe_count,std::optional<PlugProperties>plug_properties,floatexpected_gain_db,std::optional<ClockProperties>device_clock_properties)
Don't call this directly. Use HermeticAudioTest::CreateInput so the object is
appropriately bound into the test realm.
Defined at line 128 of file ../../src/media/audio/audio_core/testing/integration/virtual_device.h