Uses of Class
com.avpkit.core.IAudioSamples
-
Packages that use IAudioSamples Package Description com.avpkit.core An advanced API for reading, decoding, re-sampling, encoding and writing of most media files.com.avpkit.mediatool A simple API for to decoding, viewing and encoding media: tutorial here; start withToolFactory.com.avpkit.mediatool.event Events that can be fired by thecom.avpkit.mediatoolpackage. -
-
Uses of IAudioSamples in com.avpkit.core
Methods in com.avpkit.core that return IAudioSamples Modifier and Type Method Description protected IAudioSamplesConverter. alterAudioFrame(IAudioSamples audioFrame)Allow child class to override this method to alter the audio frame before it is rencoded and written.IAudioSamplesIAudioSamples. copyReference()Create a new IAudioSamples object that is actually referring to the exact same underlying native object.protected IAudioSamplesIMediaDataWrapper. getAudioSamples()static IAudioSamplesIAudioSamples. make(int numSamples, int numChannels)Get a new audio samples buffer.static IAudioSamplesIAudioSamples. make(int numSamples, int numChannels, IAudioSamples.Format format)Get a new audio samples buffer.static IAudioSamplesIAudioSamples. make(IBuffer buffer, int channels, IAudioSamples.Format format)Creates an {IAudioSamples} object by wrapping an
{com.avpkit.ferry.IBuffer object}.protected IAudioSamplesIMediaDataWrapper. unwrapAudioSamples()Methods in com.avpkit.core with parameters of type IAudioSamples Modifier and Type Method Description intIBufferSource. addAudioSamples(IAudioSamples samples)Adds audio samples to this filter
protected IAudioSamplesConverter. alterAudioFrame(IAudioSamples audioFrame)Allow child class to override this method to alter the audio frame before it is rencoded and written.intIStreamCoder. decodeAudio(IAudioSamples pOutSamples, IPacket packet, int byteOffset)Decode this packet into pOutSamples.intIStreamCoder. encodeAudio(IPacket pOutPacket, IAudioSamples pSamples, int sampleToStartFrom)Encode the given samples using this StreamCoder.
The VideoPicture will allocate a buffer to use internally for this, and
will free it when the frame destroys itself.
Callers should call this repeatedly on a set of samples until
we consume all the samples.
Also, when done in order to flush the encoder, caller should call
this method passing in 0 (null) for pSamples to tell the encoder
to flush any data it was keeping a hold of.
intIBufferSink. fillAudioSamples(IAudioSamples samples)Fills this audio samples with filtered data
voidTestAudioSamplesGenerator. fillNextSamples(IAudioSamples samples, long samplesRequested)static longIAudioSamples. getCPtr(IAudioSamples obj)Internal Only.intIAudioResampler. getMinimumNumSamplesRequiredInOutputSamples(IAudioSamples inSamples)Get the minimum number of samples that must be placeable in an
output set of samples in order for a resample with this resampler
to succeed.
static intAVPKitJNI. IAudioResampler_getMinimumNumSamplesRequiredInOutputSamples__SWIG_0(long jarg1, IAudioResampler jarg1_, long jarg2, IAudioSamples jarg2_)static intAVPKitJNI. IAudioResampler_resample(long jarg1, IAudioResampler jarg1_, long jarg2, IAudioSamples jarg2_, long jarg3, IAudioSamples jarg3_, int jarg4)static intAVPKitJNI. IAudioSamples_getChannelLayout(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getChannels(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getFormat(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getMaxBufferSize(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getMaxSamples(long jarg1, IAudioSamples jarg1_)static longAVPKitJNI. IAudioSamples_getNextPts(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getNumSamples(long jarg1, IAudioSamples jarg1_)static longAVPKitJNI. IAudioSamples_getPts(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getSample(long jarg1, IAudioSamples jarg1_, int jarg2, int jarg3, int jarg4)static intAVPKitJNI. IAudioSamples_getSampleBitDepth(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getSampleRate(long jarg1, IAudioSamples jarg1_)static intAVPKitJNI. IAudioSamples_getSampleSize(long jarg1, IAudioSamples jarg1_)static booleanAVPKitJNI. IAudioSamples_isComplete(long jarg1, IAudioSamples jarg1_)static voidAVPKitJNI. IAudioSamples_setComplete__SWIG_0(long jarg1, IAudioSamples jarg1_, boolean jarg2, int jarg3, int jarg4, int jarg5, int jarg6, long jarg7)static voidAVPKitJNI. IAudioSamples_setComplete__SWIG_1(long jarg1, IAudioSamples jarg1_, boolean jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7, long jarg8)static voidAVPKitJNI. IAudioSamples_setPts(long jarg1, IAudioSamples jarg1_, long jarg2)static intAVPKitJNI. IAudioSamples_setSample(long jarg1, IAudioSamples jarg1_, int jarg2, int jarg3, int jarg4, int jarg5)static intAVPKitJNI. IBufferSink_fillAudioSamples(long jarg1, IBufferSink jarg1_, long jarg2, IAudioSamples jarg2_)static intAVPKitJNI. IBufferSource_addAudioSamples(long jarg1, IBufferSource jarg1_, long jarg2, IAudioSamples jarg2_)static intAVPKitJNI. IStreamCoder_decodeAudio(long jarg1, IStreamCoder jarg1_, long jarg2, IAudioSamples jarg2_, long jarg3, IPacket jarg3_, int jarg4)static intAVPKitJNI. IStreamCoder_encodeAudio(long jarg1, IStreamCoder jarg1_, long jarg2, IPacket jarg2_, long jarg3, IAudioSamples jarg3_, int jarg4)intIAudioResampler. resample(IAudioSamples outputSamples, IAudioSamples inputSamples, int numSamples)Re-sample up to numSamples from inputSamples to outputSamples. -
Uses of IAudioSamples in com.avpkit.mediatool
Methods in com.avpkit.mediatool with parameters of type IAudioSamples Modifier and Type Method Description voidIMediaWriter. encodeAudio(int streamIndex, IAudioSamples samples)Encodes audio from samples into the stream with the specified index. -
Uses of IAudioSamples in com.avpkit.mediatool.event
Methods in com.avpkit.mediatool.event that return IAudioSamples Modifier and Type Method Description IAudioSamplesAudioSamplesEvent. getAudioSamples()Forwards toIAudioSamplesEvent.getMediaData().IAudioSamplesIAudioSamplesEvent. getAudioSamples()Forwards toIAudioSamplesEvent.getMediaData().IAudioSamplesAudioSamplesEvent. getMediaData()Implementation ofIRawMediaEvent.getMediaData().IAudioSamplesIAudioSamplesEvent. getMediaData()TheIMediaDatafor this object.Constructors in com.avpkit.mediatool.event with parameters of type IAudioSamples Constructor Description AudioSamplesEvent(IMediaGenerator source, IAudioSamples samples, java.lang.Integer streamIndex)Create anAudioSamplesEvent.
-