#include <AudioInputDevice.hh>
|
typedef void() | afterGettingFunc(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
typedef void() | onCloseFunc(void *clientData) |
|
|
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 36 of file AudioInputDevice.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 |
◆ AudioInputDevice()
AudioInputDevice::AudioInputDevice |
( |
UsageEnvironment & |
env, |
|
|
unsigned char |
bitsPerSample, |
|
|
unsigned char |
numChannels, |
|
|
unsigned |
samplingFrequency, |
|
|
unsigned |
granularityInMS |
|
) |
| |
|
protected |
◆ ~AudioInputDevice()
virtual AudioInputDevice::~AudioInputDevice |
( |
| ) |
|
|
protectedvirtual |
◆ afterGetting()
static void FramedSource::afterGetting |
( |
FramedSource * |
source | ) |
|
|
staticinherited |
◆ bitsPerSample()
unsigned char AudioInputDevice::bitsPerSample |
( |
| ) |
const |
|
inline |
◆ close() [1/2]
static void Medium::close |
( |
Medium * |
medium | ) |
|
|
staticinherited |
◆ close() [2/2]
◆ createNew()
static AudioInputDevice * AudioInputDevice::createNew |
( |
UsageEnvironment & |
env, |
|
|
int |
inputPortNumber, |
|
|
unsigned char |
bitsPerSample, |
|
|
unsigned char |
numChannels, |
|
|
unsigned |
samplingFrequency, |
|
|
unsigned |
granularityInMS = 20 |
|
) |
| |
|
static |
◆ doGetNextFrame()
virtual void FramedSource::doGetNextFrame |
( |
| ) |
|
|
pure virtualinherited |
Implemented in AC3AudioStreamFramer, ADTSAudioFileSource, ADTSAudioStreamDiscreteFramer, AMRAudioFileSource, BasicUDPSource, ByteStreamFileSource, ByteStreamMemoryBufferSource, ByteStreamMultiFileSource, DeviceSource, DVVideoStreamFramer, H263plusVideoStreamFramer, H264or5VideoStreamDiscreteFramer, H264or5VideoStreamFramer, ADUFromMP3Source, MP3FromADUSource, MP3ADUinterleaver, MP3ADUdeinterleaver, MP3ADUTranscoder, MP3FileSource, MPEG1or2AudioStreamFramer, MPEG1or2DemuxedElementaryStream, MPEG1or2VideoStreamDiscreteFramer, MPEG2IFrameIndexFromTransportStream, MPEG2TransportStreamAccumulator, MPEG2TransportStreamFramer, MPEG2TransportStreamMultiplexor, MPEG2TransportStreamTrickModeFilter, MPEG4VideoStreamDiscreteFramer, MPEGVideoStreamFramer, MultiFramedRTPSource, PresentationTimeSubsessionNormalizer, T140IdleFilter, uLawFromPCMAudioSource, PCMFromuLawAudioSource, NetworkFromHostOrder16, HostFromNetworkOrder16, EndianSwap16, EndianSwap24, WAVAudioFileSource, MatroskaDemuxedTrack, MPEG2TransportStreamDemuxedTrack, and OggDemuxedTrack.
◆ doStopGettingFrames()
virtual void FramedSource::doStopGettingFrames |
( |
| ) |
|
|
protectedvirtualinherited |
Reimplemented in BasicUDPSource, ByteStreamFileSource, FramedFilter, MPEG1or2DemuxedElementaryStream, MPEG2TransportStreamFramer, MPEG2TransportStreamFromESSource, MPEG2TransportStreamFromPESSource, MPEG2TransportStreamTrickModeFilter, MPEGVideoStreamFramer, MultiFramedRTPSource, T140IdleFilter, WAVAudioFileSource, and MatroskaDemuxedTrack.
◆ envir()
◆ getAttributes()
virtual void MediaSource::getAttributes |
( |
| ) |
const |
|
virtualinherited |
◆ getAverageLevel()
virtual double AudioInputDevice::getAverageLevel |
( |
| ) |
const |
|
pure virtual |
◆ 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 |
◆ 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 |
|
inline |
◆ samplingFrequency()
unsigned AudioInputDevice::samplingFrequency |
( |
| ) |
const |
|
inline |
◆ setInputPort()
virtual Boolean AudioInputDevice::setInputPort |
( |
int |
portIndex | ) |
|
|
pure virtual |
◆ stopGettingFrames()
void FramedSource::stopGettingFrames |
( |
| ) |
|
|
inherited |
◆ allowedDeviceNames
char** AudioInputDevice::allowedDeviceNames |
|
static |
◆ fAfterGettingClientData
void* FramedSource::fAfterGettingClientData |
|
privateinherited |
◆ fAfterGettingFunc
◆ fBitsPerSample
unsigned char AudioInputDevice::fBitsPerSample |
|
protected |
◆ fDurationInMicroseconds
unsigned FramedSource::fDurationInMicroseconds |
|
protectedinherited |
◆ fEnviron
◆ fFrameSize
unsigned FramedSource::fFrameSize |
|
protectedinherited |
◆ fGranularityInMS
unsigned AudioInputDevice::fGranularityInMS |
|
protected |
◆ fIsCurrentlyAwaitingData
Boolean FramedSource::fIsCurrentlyAwaitingData |
|
privateinherited |
◆ fMaxSize
unsigned FramedSource::fMaxSize |
|
protectedinherited |
◆ fMediumName
◆ fNextTask
◆ fNumChannels
unsigned char AudioInputDevice::fNumChannels |
|
protected |
◆ fNumTruncatedBytes
unsigned FramedSource::fNumTruncatedBytes |
|
protectedinherited |
◆ fOnCloseClientData
void* FramedSource::fOnCloseClientData |
|
privateinherited |
◆ fOnCloseFunc
◆ fPresentationTime
struct timeval FramedSource::fPresentationTime |
|
protectedinherited |
◆ fSamplingFrequency
unsigned AudioInputDevice::fSamplingFrequency |
|
protected |
◆ fTo
unsigned char* FramedSource::fTo |
|
protectedinherited |
The documentation for this class was generated from the following file: