pub enum AudioCodecType {
Null,
SB16,
STAC9700,
AD1980,
STAC9221,
}
Expand description
The exact variant of audio codec hardware presented to the guest; see AudioAdapter::get_audio_codec
.
Variants§
Null
null value.
Never used by the API.
SB16
SB16; this is the only option for the SB16 device.
STAC9700
A STAC9700 AC’97 codec.
AD1980
An AD1980 AC’97 codec.
Recommended for Linux guests.
STAC9221
A STAC9221 HDA codec.
Trait Implementations§
Source§impl Debug for AudioCodecType
impl Debug for AudioCodecType
Source§impl Display for AudioCodecType
impl Display for AudioCodecType
Source§impl From<u32> for AudioCodecType
impl From<u32> for AudioCodecType
Auto Trait Implementations§
impl Freeze for AudioCodecType
impl RefUnwindSafe for AudioCodecType
impl Send for AudioCodecType
impl Sync for AudioCodecType
impl Unpin for AudioCodecType
impl UnwindSafe for AudioCodecType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more