pub fn from_virtio_sample_format(
virtio_pcm_format: u8
) -> Result<SampleFormat, Error>
Expand description
Converts VIRTIO_SND_PCM_FMT_* enum to SampleFormat
pub fn from_virtio_sample_format(
virtio_pcm_format: u8
) -> Result<SampleFormat, Error>
Converts VIRTIO_SND_PCM_FMT_* enum to SampleFormat