Struct windows::Win32::Media::DirectShow::IMpegAudioDecoder
pub struct IMpegAudioDecoder(/* private fields */);
Implementations§
§impl IMpegAudioDecoder
impl IMpegAudioDecoder
pub unsafe fn FrequencyDivider(&self) -> Result<u32>
pub unsafe fn SetFrequencyDivider(&self, divider: u32) -> Result<()>
pub unsafe fn DecoderAccuracy(&self) -> Result<u32>
pub unsafe fn SetDecoderAccuracy(&self, accuracy: u32) -> Result<()>
pub unsafe fn Stereo(&self) -> Result<u32>
pub unsafe fn SetStereo(&self, stereo: u32) -> Result<()>
pub unsafe fn DecoderWordSize(&self) -> Result<u32>
pub unsafe fn SetDecoderWordSize(&self, wordsize: u32) -> Result<()>
pub unsafe fn IntegerDecode(&self) -> Result<u32>
pub unsafe fn SetIntegerDecode(&self, intdecode: u32) -> Result<()>
pub unsafe fn DualMode(&self, pintdecode: *mut u32) -> Result<()>
pub unsafe fn SetDualMode(&self, intdecode: u32) -> Result<()>
pub unsafe fn AudioFormat(&self, lpfmt: *mut MPEG1WAVEFORMAT) -> Result<()>
Trait Implementations§
§impl Clone for IMpegAudioDecoder
impl Clone for IMpegAudioDecoder
§fn clone(&self) -> IMpegAudioDecoder
fn clone(&self) -> IMpegAudioDecoder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IMpegAudioDecoder
impl Debug for IMpegAudioDecoder
§impl From<&IMpegAudioDecoder> for &IUnknown
impl From<&IMpegAudioDecoder> for &IUnknown
§fn from(value: &IMpegAudioDecoder) -> Self
fn from(value: &IMpegAudioDecoder) -> Self
Converts to this type from the input type.
§impl From<IMpegAudioDecoder> for IUnknown
impl From<IMpegAudioDecoder> for IUnknown
§fn from(value: IMpegAudioDecoder) -> Self
fn from(value: IMpegAudioDecoder) -> Self
Converts to this type from the input type.
§impl Interface for IMpegAudioDecoder
impl Interface for IMpegAudioDecoder
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IMpegAudioDecoder
impl PartialEq for IMpegAudioDecoder
§fn eq(&self, other: &IMpegAudioDecoder) -> bool
fn eq(&self, other: &IMpegAudioDecoder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMpegAudioDecoder
impl StructuralPartialEq for IMpegAudioDecoder
Auto Trait Implementations§
impl RefUnwindSafe for IMpegAudioDecoder
impl !Send for IMpegAudioDecoder
impl !Sync for IMpegAudioDecoder
impl Unpin for IMpegAudioDecoder
impl UnwindSafe for IMpegAudioDecoder
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