public class Sound extends Portable
swigCMemOwn
Modifier | Constructor and Description |
---|---|
|
Sound() |
|
Sound(int bytesPerSample) |
protected |
Sound(long cPtr,
boolean cMemoryOwn) |
|
Sound(Sound alt) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
delete() |
protected void |
finalize() |
int |
get(int sample) |
int |
get(int sample,
int channel) |
int |
getBytesPerSample() |
int |
getChannels() |
protected static long |
getCPtr(Sound obj) |
int |
getFrequency() |
SWIGTYPE_p_unsigned_char |
getRawData() |
int |
getRawDataSize() |
int |
getSafe(int sample) |
int |
getSafe(int sample,
int channel) |
int |
getSamples() |
boolean |
isSample(int sample) |
boolean |
isSample(int sample,
int channel) |
boolean |
read(ConnectionReader connection) |
void |
resize(int samples) |
void |
resize(int samples,
int channels) |
void |
set(int value,
int sample) |
void |
set(int value,
int sample,
int channel) |
void |
setFrequency(int freq) |
void |
setSafe(int value,
int sample) |
void |
setSafe(int value,
int sample,
int channel) |
Sound |
subSound(int first_sample,
int last_sample) |
boolean |
write(ConnectionWriter connection) |
copyPortable, getCPtr, getType
getCPtr, getReadType, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
protected Sound(long cPtr, boolean cMemoryOwn)
public Sound(int bytesPerSample)
public Sound()
public Sound(Sound alt)
protected static long getCPtr(Sound obj)
public Sound subSound(int first_sample, int last_sample)
public void resize(int samples, int channels)
public void resize(int samples)
public int get(int sample, int channel)
public int get(int sample)
public void set(int value, int sample, int channel)
public void set(int value, int sample)
public int getSafe(int sample, int channel)
public int getSafe(int sample)
public void setSafe(int value, int sample, int channel)
public void setSafe(int value, int sample)
public boolean isSample(int sample, int channel)
public boolean isSample(int sample)
public void clear()
public int getFrequency()
public void setFrequency(int freq)
public int getBytesPerSample()
public int getSamples()
public int getChannels()
public boolean read(ConnectionReader connection)
public boolean write(ConnectionWriter connection)
public SWIGTYPE_p_unsigned_char getRawData()
public int getRawDataSize()