Module audio_streams::shm_streams
source · Structs§
- Source of
MockShmStreamobjects. - Class that implements ShmStream trait but does nothing with the samples
- Source of
NullShmStreamobjects. ServerRequestrepresents an active request from the server for the client to provide a buffer in shared memory to playback from or capture to.
Enums§
Traits§
BufferSetis used as a callback mechanism forServerRequestobjects. It is meant to be implemented by the audio stream, allowing arbitrary code to be run after a buffer offset and length is set.SharedMemoryspecifies features of shared memory areas passed on toShmStreamSource.ShmStreamallows a client to interact with an active CRAS stream.ShmStreamSourcecreates streams for playback or capture of audio.