MFORMATSLib Namespace : MFAudioBufferClass Class |
The following tables list the members exposed by MFAudioBufferClass.
Name | Description | |
---|---|---|
![]() | BufferFrameChannelsAppend | Appends audio channels from buffer to a specified frame, the number of samples retrieved from specified frame |
![]() | BufferFrameFill | Reads audio from buffer to a frame. If _nSamples = 0 then the audio duration calculated from frame rate, if _nSamples < 0 then whole buffer is used. |
![]() | BufferFrameMix | Mixes audio from buffer with specified frame, the number of samples retrieved from specified frame. Note: The audio can be insufficient. In this case use two lines for mixing. |
![]() | BufferFramePut | Puts audio from a frame to the buffer. |
![]() | BufferGet | Get audio data from buffer. For planar format specify _cbAudioPlane: -1 auto size (from number of samples), 0 - interleaved. Note: if _ppAudio is NULL then allocate internal buffer, else copy to specified buffer. |
![]() | BufferLinesMix | Mixes audio from buffer lines |
![]() | BufferLinesRemove | Removes line from buffer |
![]() | BufferLoadFromFile | Loads audio form file to a buffer. |
![]() | BufferPropsGet | Gets buffer's audio props |
![]() | BufferPropsSet | Sets buffer's audio properties |
![]() | BufferPutPtr | Puts audio data to a buffer. If _pbAudio is NULL then the buffer is filled with silence |
![]() | BufferPutPtrEx | Put audio data to buffer, also correct audio data by time (add silence or skip data), for planar format specify _cbAudioPlane: -1 auto size (from number of samples), 0 - interleaved |
![]() | BufferRemove | Removes audio data from the buffer |
![]() | BufferTimesEnable | Enable audio buffer times watching (e.g. for BufferFramePut, BufferFrameFill methods) and set max difference for times (if 0 then ONLY breaks are used) |
![]() | BufferTimesGet | Get audio buffer times (if any) |
![]() | BufferTimesIsEnabled | Indicates whether buffer times are enabled and shows differences values |
![]() | BufferTimesSet | Set audio buffer start/end time (remove or add audio if needed) Note: The rtEndTime ONLY for minimum time, if buffer end is greater then ignored. |