class UndiscardableSound
Defined at line 86 of file ../../src/media/sounds/soundplayer/sound.h
Container for raw LPCM sound in a VMO. An |UndiscardableSound| is created from an existing
non-discardable, non-resizeable, VMO. |LockForRead|, |LockForWrite| and |Unlock| do nothing.
Public Methods
void UndiscardableSound (zx::vmo vmo, uint64_t size, fuchsia::media::AudioStreamType stream_type)
Constructs a |Sound| from a non-discardable VMO.
Defined at line 89 of file ../../src/media/sounds/soundplayer/sound.h
Protected Methods
void ApplyLockForRead ()
Defined at line 93 of file ../../src/media/sounds/soundplayer/sound.h
void ApplyLockForWrite ()
Defined at line 95 of file ../../src/media/sounds/soundplayer/sound.h
void Removelock ()
Defined at line 97 of file ../../src/media/sounds/soundplayer/sound.h