Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
AudioSampleGrabberCallback Class Reference

#include <samplegrabber_p.h>

+ Inheritance diagram for AudioSampleGrabberCallback:
+ Collaboration diagram for AudioSampleGrabberCallback:

Public Member Functions

void setFormat (const QAudioFormat &format)
 
STDMETHODIMP OnProcessSample (REFGUID guidMajorMediaType, DWORD dwSampleFlags, LONGLONG llSampleTime, LONGLONG llSampleDuration, const BYTE *pSampleBuffer, DWORD dwSampleSize) override
 
- Public Member Functions inherited from SampleGrabberCallback
STDMETHODIMP QueryInterface (REFIID iid, void **ppv) override
 
 STDMETHODIMP_ (ULONG) AddRef() override
 
 STDMETHODIMP_ (ULONG) Release() override
 
STDMETHODIMP OnClockStart (MFTIME hnsSystemTime, LONGLONG llClockStartOffset) override
 
STDMETHODIMP OnClockStop (MFTIME hnsSystemTime) override
 
STDMETHODIMP OnClockPause (MFTIME hnsSystemTime) override
 
STDMETHODIMP OnClockRestart (MFTIME hnsSystemTime) override
 
STDMETHODIMP OnClockSetRate (MFTIME hnsSystemTime, float flRate) override
 
STDMETHODIMP OnSetPresentationClock (IMFPresentationClock *pClock) override
 
STDMETHODIMP OnShutdown () override
 
virtual ~SampleGrabberCallback ()
 

Additional Inherited Members

- Protected Member Functions inherited from SampleGrabberCallback
 SampleGrabberCallback ()
 

Detailed Description

Definition at line 55 of file samplegrabber_p.h.

Member Function Documentation

◆ OnProcessSample()

STDMETHODIMP AudioSampleGrabberCallback::OnProcessSample ( REFGUID  guidMajorMediaType,
DWORD  dwSampleFlags,
LONGLONG  llSampleTime,
LONGLONG  llSampleDuration,
const BYTE *  pSampleBuffer,
DWORD  dwSampleSize 
)
override

Definition at line 107 of file samplegrabber.cpp.

References Q_UNUSED.

◆ setFormat()

void AudioSampleGrabberCallback::setFormat ( const QAudioFormat format)

Definition at line 102 of file samplegrabber.cpp.


The documentation for this class was generated from the following files: