| Package | Description |
|---|---|
| com.neurotec.media | |
| com.neurotec.sound |
| Modifier and Type | Method and Description |
|---|---|
NSoundBuffer |
NMediaReader.ReadResult.getSoundBuffer()
Gets NSoundBuffer which contains audio sample.
|
| Modifier and Type | Method and Description |
|---|---|
static NSoundBuffer |
NSoundBuffer.create(NSoundFormat soundFormat,
int sampleRate,
int sampleCount)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.create(NSoundFormat soundFormat,
int sampleRate,
int sampleCount,
int flags)
Creates NSoundBuffer object wrapper.
|
NSoundBuffer |
NSoundBuffer.crop(int sampleIndex,
int sampleCount)
Crops sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromAudioSample(NAudioFormat format,
byte[] sample) |
static NSoundBuffer |
NSoundBuffer.fromAudioSample(NAudioFormat format,
com.neurotec.io.NBuffer sample) |
static NSoundBuffer |
NSoundBuffer.fromChannel(ReadableByteChannel ch)
Deprecated.
|
static NSoundBuffer |
NSoundBuffer.fromChannel(ReadableByteChannel ch,
int flags)
Deprecated.
|
static NSoundBuffer |
NSoundBuffer.fromData(NSoundFormat soundFormat,
int sampleRate,
int sampleCount,
ByteBuffer samples)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.fromData(NSoundFormat soundFormat,
int sampleRate,
int sampleCount,
ByteBuffer samples,
int flags)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.fromData(NSoundFormat soundFormat,
int sampleRate,
int srcSampleCount,
ByteBuffer samples,
int sampleIndex,
int sampleCount)
Creates sound buffer from ByteBuffer.
|
static NSoundBuffer |
NSoundBuffer.fromData(NSoundFormat soundFormat,
int sampleRate,
int srcSampleCount,
ByteBuffer samples,
int sampleIndex,
int sampleCount,
int flags)
Creates sound buffer from ByteBuffer.
|
static NSoundBuffer |
NSoundBuffer.fromFile(String fileName)
Creates a sound buffer from the specified file.
|
static NSoundBuffer |
NSoundBuffer.fromFile(String fileName,
int flags)
Creates a sound buffer from the specified file.
|
static NSoundBuffer |
NSoundBuffer.fromInputStream(InputStream in)
Deprecated.
|
static NSoundBuffer |
NSoundBuffer.fromInputStream(InputStream in,
int flags)
Deprecated.
|
static NSoundBuffer |
NSoundBuffer.fromMemory(ByteBuffer buffer)
Creates a sound buffer from the specified byte buffer.
|
static NSoundBuffer |
NSoundBuffer.fromMemory(com.neurotec.io.NBuffer buffer)
Creates a sound buffer from the specified NBuffer.
|
static NSoundBuffer |
NSoundBuffer.fromMemory(com.neurotec.io.NBuffer buffer,
int flags)
Creates a sound buffer from the specified NBuffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer,
int flags)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount,
int flags)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromStream(com.neurotec.io.NStream stream) |
static NSoundBuffer |
NSoundBuffer.fromStream(com.neurotec.io.NStream stream,
int flags) |
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount,
int flags)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundFormat soundFormat,
int sampleRate,
int sampleCount,
com.neurotec.io.NBuffer samples)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundFormat soundFormat,
int sampleRate,
int sampleCount,
com.neurotec.io.NBuffer samples,
int flags)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundFormat soundFormat,
int sampleRate,
int srcSampleCount,
com.neurotec.io.NBuffer samples,
int sampleIndex,
int sampleCount)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundFormat soundFormat,
int sampleRate,
int srcSampleCount,
com.neurotec.io.NBuffer samples,
int sampleIndex,
int sampleCount,
int flags)
Creates NSoundBuffer object wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NSoundBuffer.append(NSoundBuffer soundBuffer)
Appends sound buffer to this instance.
|
static void |
NSoundBuffer.copy(NSoundBuffer srcSoundBuffer,
int sampleIndex,
NSoundBuffer dstSoundBuffer,
int dstSampleIndex,
int sampleCount)
Copies specified rectangular area of the NSoundBuffer to other NSoundBuffer object.
|
void |
NSoundBuffer.copyTo(NSoundBuffer dstSoundBuffer,
int dstSampleIndex)
Copies sound buffer to destination sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer,
int flags)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.fromSoundBuffer(NSoundFormat soundFormat,
NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount,
int flags)
Creates sound buffer from another sound buffer.
|
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount)
Creates NSoundBuffer object wrapper.
|
static NSoundBuffer |
NSoundBuffer.getWrapper(NSoundBuffer srcSoundBuffer,
int sampleIndex,
int sampleCount,
int flags)
Creates NSoundBuffer object wrapper.
|
Copyright © 2016 Neurotechnology. All rights reserved.