Module devices::virtio::snd::vios_backend::shm_streams
source · Expand description
Provides an implementation of the audio_streams::shm_streams::ShmStream trait using the VioS client. Given that the VioS server doesn’t emit an event when the next buffer is expected, this implementation uses thread::sleep to drive the frame timings.
Structs§
- Adapter that provides the ShmStreamSource trait around the VioS backend.
- Adapter around a VioS stream that implements the ShmStream trait.
Enums§
Functions§
- Memory map a shared memory object to access an audio buffer. The buffer may not be located at an offset aligned to page size, so the offset within the mapped region is returned along with the MemoryMapping struct.