class PacketFactory

Defined at line 21 of file ../../src/media/audio/audio_core/testing/packet_factory.h

Helper class for creating packets for testing.

Public Methods

void PacketFactory (async_dispatcher_t * dispatcher, const Format & format, size_t vmo_size)

Defined at line 14 of file ../../src/media/audio/audio_core/testing/packet_factory.cc

fbl::RefPtr<Packet> CreatePacket (float val, zx::duration duration, fit::closure callback)

Defined at line 22 of file ../../src/media/audio/audio_core/testing/packet_factory.cc

const Format & format ()

Defined at line 28 of file ../../src/media/audio/audio_core/testing/packet_factory.h

void SeekToFrame (Fixed frame_num)

Defined at line 29 of file ../../src/media/audio/audio_core/testing/packet_factory.h