Uses of Enum Class
ca.phon.audio.AudioFileEncoding
-
Uses of AudioFileEncoding in ca.phon.audio
Modifier and TypeMethodDescriptionAudioFile.getAudioFileEncoding()
AudioFileInfo.getEncoding()
static AudioFileEncoding
Returns the enum constant of this class with the specified name.static AudioFileEncoding[]
AudioFileEncoding.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic double[]
AudioIO.decodeFrame
(byte[] buffer, int offset, AudioFileEncoding encoding, int numberOfChannels) static void
AudioIO.decodeFrame
(byte[] buffer, int offset, AudioFileEncoding encoding, int numberOfChannels, double[] samples, int sampleOffset) Decode a single frame of channel interleaved audio data frombuffer
atoffset
usingencoding
.static byte[]
AudioIO.encodeFrame
(double[] samples, AudioFileEncoding encoding) static boolean
AudioIO.encodeFrame
(double[] samples, AudioFileEncoding encoding, byte[] buffer, int offset) Encode frame using encoding into buffer at offsetstatic int
AudioIO.writeSamples
(Sampled samples, int firstSample, int numSamples, AudioFileEncoding encoding, byte[] buffer, int offset) Write numSamples from Sampled starting at firstSample into the buffer starting at offsetstatic int
AudioIO.writeSamples
(Sampled samples, int firstSample, int numSamples, AudioFileEncoding encoding, OutputStream os) static void
AudioIO.writeSamplesToFile
(Sampled samples, int firstSample, int numSamples, AudioFileEncoding encoding, File file) static void
AudioIO.writeSamplesToFile
(Sampled samples, int firstSample, int numSamples, AudioFileType fileType, AudioFileEncoding encoding, File file) -
Uses of AudioFileEncoding in ca.phon.media
Modifier and TypeMethodDescriptionabstract AudioFileEncoding
ExportSegment.getEncoding()
SampledExportSegment.getEncoding()
ModifierConstructorDescriptionSampledExportSegment
(Sampled samples, AudioFileType type, AudioFileEncoding encoding)