#include <WAVAudioFileSource.hh>
|
typedef void() | afterGettingFunc(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
typedef void() | onCloseFunc(void *clientData) |
|
|
static WAVAudioFileSource * | createNew (UsageEnvironment &env, char const *fileName) |
|
static AudioInputDevice * | createNew (UsageEnvironment &env, int inputPortNumber, unsigned char bitsPerSample, unsigned char numChannels, unsigned samplingFrequency, unsigned granularityInMS=20) |
|
static AudioPortNames * | getPortNames () |
|
static Boolean | lookupByName (UsageEnvironment &env, char const *sourceName, FramedSource *&resultSource) |
|
static Boolean | lookupByName (UsageEnvironment &env, char const *sourceName, MediaSource *&resultSource) |
|
static Boolean | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) |
|
static void | handleClosure (void *clientData) |
|
static void | afterGetting (FramedSource *source) |
|
static void | close (UsageEnvironment &env, char const *mediumName) |
|
static void | close (Medium *medium) |
|
Definition at line 39 of file WAVAudioFileSource.hh.
◆ afterGettingFunc
typedef void() FramedSource::afterGettingFunc(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
inherited |
◆ onCloseFunc
typedef void() FramedSource::onCloseFunc(void *clientData) |
|
inherited |
◆ WAVAudioFileSource()
◆ ~WAVAudioFileSource()
virtual WAVAudioFileSource::~WAVAudioFileSource |
( |
| ) |
|
|
protectedvirtual |
◆ afterGetting()
static void FramedSource::afterGetting |
( |
FramedSource * |
source | ) |
|
|
staticinherited |
◆ bitsPerSample()
unsigned char AudioInputDevice::bitsPerSample |
( |
| ) |
const |
|
inlineinherited |
◆ close() [1/2]
static void Medium::close |
( |
Medium * |
medium | ) |
|
|
staticinherited |
◆ close() [2/2]
◆ createNew() [1/2]
◆ createNew() [2/2]
static AudioInputDevice * AudioInputDevice::createNew |
( |
UsageEnvironment & |
env, |
|
|
int |
inputPortNumber, |
|
|
unsigned char |
bitsPerSample, |
|
|
unsigned char |
numChannels, |
|
|
unsigned |
samplingFrequency, |
|
|
unsigned |
granularityInMS = 20 |
|
) |
| |
|
staticinherited |
◆ doGetNextFrame()
virtual void WAVAudioFileSource::doGetNextFrame |
( |
| ) |
|
|
privatevirtual |
◆ doReadFromFile()
void WAVAudioFileSource::doReadFromFile |
( |
| ) |
|
|
protected |
◆ doStopGettingFrames()
virtual void WAVAudioFileSource::doStopGettingFrames |
( |
| ) |
|
|
privatevirtual |
◆ envir()
◆ fileReadableHandler()
static void WAVAudioFileSource::fileReadableHandler |
( |
WAVAudioFileSource * |
source, |
|
|
int |
mask |
|
) |
| |
|
staticprotected |
◆ getAttributes()
virtual void MediaSource::getAttributes |
( |
| ) |
const |
|
virtualinherited |
◆ getAudioFormat()
unsigned char WAVAudioFileSource::getAudioFormat |
( |
| ) |
|
◆ getAverageLevel()
virtual double WAVAudioFileSource::getAverageLevel |
( |
| ) |
const |
|
privatevirtual |
◆ getNextFrame()
void FramedSource::getNextFrame |
( |
unsigned char * |
to, |
|
|
unsigned |
maxSize, |
|
|
afterGettingFunc * |
afterGettingFunc, |
|
|
void * |
afterGettingClientData, |
|
|
onCloseFunc * |
onCloseFunc, |
|
|
void * |
onCloseClientData |
|
) |
| |
|
inherited |
◆ getPortNames()
◆ handleClosure() [1/2]
void FramedSource::handleClosure |
( |
| ) |
|
|
inherited |
◆ handleClosure() [2/2]
static void FramedSource::handleClosure |
( |
void * |
clientData | ) |
|
|
staticinherited |
◆ isAMRAudioSource()
virtual Boolean MediaSource::isAMRAudioSource |
( |
| ) |
const |
|
virtualinherited |
◆ isCurrentlyAwaitingData()
Boolean FramedSource::isCurrentlyAwaitingData |
( |
| ) |
const |
|
inlineinherited |
◆ isDVVideoStreamFramer()
virtual Boolean MediaSource::isDVVideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isFramedSource()
virtual Boolean FramedSource::isFramedSource |
( |
| ) |
const |
|
privatevirtualinherited |
◆ isH264VideoStreamFramer()
virtual Boolean MediaSource::isH264VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isH265VideoStreamFramer()
virtual Boolean MediaSource::isH265VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isJPEGVideoSource()
virtual Boolean MediaSource::isJPEGVideoSource |
( |
| ) |
const |
|
virtualinherited |
◆ isMediaSession()
virtual Boolean Medium::isMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isMPEG1or2VideoStreamFramer()
virtual Boolean MediaSource::isMPEG1or2VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isMPEG2TransportStreamMultiplexor()
virtual Boolean MediaSource::isMPEG2TransportStreamMultiplexor |
( |
| ) |
const |
|
virtualinherited |
◆ isMPEG4VideoStreamFramer()
virtual Boolean MediaSource::isMPEG4VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isRTCPInstance()
virtual Boolean Medium::isRTCPInstance |
( |
| ) |
const |
|
virtualinherited |
◆ isRTPSource()
virtual Boolean MediaSource::isRTPSource |
( |
| ) |
const |
|
virtualinherited |
◆ isRTSPClient()
virtual Boolean Medium::isRTSPClient |
( |
| ) |
const |
|
virtualinherited |
◆ isRTSPServer()
virtual Boolean Medium::isRTSPServer |
( |
| ) |
const |
|
virtualinherited |
◆ isServerMediaSession()
virtual Boolean Medium::isServerMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isSink()
virtual Boolean Medium::isSink |
( |
| ) |
const |
|
virtualinherited |
◆ isSource()
virtual Boolean MediaSource::isSource |
( |
| ) |
const |
|
privatevirtualinherited |
◆ limitNumBytesToStream()
void WAVAudioFileSource::limitNumBytesToStream |
( |
unsigned |
numBytesToStream | ) |
|
◆ lookupByName() [1/3]
◆ lookupByName() [2/3]
◆ lookupByName() [3/3]
◆ maxFrameSize()
virtual unsigned FramedSource::maxFrameSize |
( |
| ) |
const |
|
virtualinherited |
◆ MIMEtype()
virtual char const * MediaSource::MIMEtype |
( |
| ) |
const |
|
virtualinherited |
Reimplemented in AC3AudioRTPSource, AMRAudioSource, DVVideoRTPSource, FramedFilter, H261VideoRTPSource, H263plusVideoRTPSource, H264VideoRTPSource, H265VideoRTPSource, JPEG2000VideoRTPSource, JPEGVideoRTPSource, ADUFromMP3Source, MP3FromADUSource, MP3ADURTPSource, MP3FileSource, MPEG1or2AudioRTPSource, MPEG1or2DemuxedElementaryStream, MPEG1or2VideoRTPSource, MPEG4ESVideoRTPSource, MPEG4GenericRTPSource, MPEG4LATMAudioRTPSource, QuickTimeGenericRTPSource, RawVideoRTPSource, SimpleRTPSource, TheoraVideoRTPSource, VorbisAudioRTPSource, VP8VideoRTPSource, VP9VideoRTPSource, MatroskaDemuxedTrack, and OggDemuxedTrack.
◆ name()
char const * Medium::name |
( |
| ) |
const |
|
inlineinherited |
◆ nextTask()
◆ numChannels()
unsigned char AudioInputDevice::numChannels |
( |
| ) |
const |
|
inlineinherited |
◆ numPCMBytes()
unsigned WAVAudioFileSource::numPCMBytes |
( |
| ) |
const |
◆ samplingFrequency()
unsigned AudioInputDevice::samplingFrequency |
( |
| ) |
const |
|
inlineinherited |
◆ seekToPCMByte()
void WAVAudioFileSource::seekToPCMByte |
( |
unsigned |
byteNumber | ) |
|
◆ setInputPort()
virtual Boolean WAVAudioFileSource::setInputPort |
( |
int |
portIndex | ) |
|
|
privatevirtual |
◆ setScaleFactor()
void WAVAudioFileSource::setScaleFactor |
( |
int |
scale | ) |
|
◆ stopGettingFrames()
void FramedSource::stopGettingFrames |
( |
| ) |
|
|
inherited |
◆ allowedDeviceNames
char** AudioInputDevice::allowedDeviceNames |
|
staticinherited |
◆ fAfterGettingClientData
void* FramedSource::fAfterGettingClientData |
|
privateinherited |
◆ fAfterGettingFunc
◆ fAudioFormat
unsigned char WAVAudioFileSource::fAudioFormat |
|
private |
◆ fBitsPerSample
unsigned char AudioInputDevice::fBitsPerSample |
|
protectedinherited |
◆ fDurationInMicroseconds
unsigned FramedSource::fDurationInMicroseconds |
|
protectedinherited |
◆ fEnviron
◆ fFid
FILE* WAVAudioFileSource::fFid |
|
private |
◆ fFidIsSeekable
Boolean WAVAudioFileSource::fFidIsSeekable |
|
private |
◆ fFileSize
unsigned WAVAudioFileSource::fFileSize |
|
private |
◆ fFrameSize
unsigned FramedSource::fFrameSize |
|
protectedinherited |
◆ fGranularityInMS
unsigned AudioInputDevice::fGranularityInMS |
|
protectedinherited |
◆ fHaveStartedReading
Boolean WAVAudioFileSource::fHaveStartedReading |
|
private |
◆ fIsCurrentlyAwaitingData
Boolean FramedSource::fIsCurrentlyAwaitingData |
|
privateinherited |
◆ fLastPlayTime
unsigned WAVAudioFileSource::fLastPlayTime |
|
private |
◆ fLimitNumBytesToStream
Boolean WAVAudioFileSource::fLimitNumBytesToStream |
|
private |
◆ fMaxSize
unsigned FramedSource::fMaxSize |
|
protectedinherited |
◆ fMediumName
◆ fNextTask
◆ fNumBytesToStream
unsigned WAVAudioFileSource::fNumBytesToStream |
|
private |
◆ fNumChannels
unsigned char AudioInputDevice::fNumChannels |
|
protectedinherited |
◆ fNumTruncatedBytes
unsigned FramedSource::fNumTruncatedBytes |
|
protectedinherited |
◆ fOnCloseClientData
void* FramedSource::fOnCloseClientData |
|
privateinherited |
◆ fOnCloseFunc
◆ fPlayTimePerSample
double WAVAudioFileSource::fPlayTimePerSample |
|
private |
◆ fPreferredFrameSize
unsigned WAVAudioFileSource::fPreferredFrameSize |
|
protected |
◆ fPresentationTime
struct timeval FramedSource::fPresentationTime |
|
protectedinherited |
◆ fSamplingFrequency
unsigned AudioInputDevice::fSamplingFrequency |
|
protectedinherited |
◆ fScaleFactor
int WAVAudioFileSource::fScaleFactor |
|
private |
◆ fTo
unsigned char* FramedSource::fTo |
|
protectedinherited |
◆ fWAVHeaderSize
unsigned WAVAudioFileSource::fWAVHeaderSize |
|
private |
The documentation for this class was generated from the following file: