Module audio_streams::shm_streams
source · Structs§
- Source of
MockShmStream
objects. - Class that implements ShmStream trait but does nothing with the samples
- Source of
NullShmStream
objects. ServerRequest
represents an active request from the server for the client to provide a buffer in shared memory to playback from or capture to.
Enums§
Traits§
BufferSet
is used as a callback mechanism forServerRequest
objects. It is meant to be implemented by the audio stream, allowing arbitrary code to be run after a buffer offset and length is set.SharedMemory
specifies features of shared memory areas passed on toShmStreamSource
.ShmStream
allows a client to interact with an active CRAS stream.ShmStreamSource
creates streams for playback or capture of audio.