template <fuchsia::media::AudioSampleFormat SampleFormat>
class VirtualInput
Defined at line 120 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 125 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, Format format, int64_t frame_count, std::optional<PlugProperties> plug_properties, float expected_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 131 of file ../../src/media/audio/audio_core/testing/integration/virtual_device.h