Interface IDirectSoundBuffer
public interface IDirectSoundBuffer extends IUnknown
{
// Methods
public void getCaps(DSBCaps caps);
public void getCurrentPosition(DSCursors cursors);
public void getFormat(byte[] format, int size);
public int getFormatSize();
public int getFrequency();
public int getPan();
public int getStatus();
public int getVolume();
public void play(int flags);
public void restore();
public void setCurrentPosition(int newPosition);
public void setFormat(byte[] format);
public void setFrequency(int frequency);
public void setPan(int pan);
public void setVolume(int volume);
public void stop();
public void transferToSoundBuffer(DSResourceDesc resourceDesc,
int flags);
public void writeBuffer(int start, int size, byte[] buffer,
int flags);
}
For a description of methods and parameters, see DirectSoundBuffer.
IUnknown
|
+--IDirectSoundBuffer
public void getCaps(DSBCaps caps);
public void getCurrentPosition(DSCursors cursors);
public void getFormat(byte[] format, int size);
public int getFormatSize();
public int getFrequency();
public int getPan();
public int getStatus();
public int getVolume();
public void play(int flags);
public void restore();
public void setCurrentPosition(int newPosition);
public void setFormat(byte[] format);
public void setFrequency(int frequency);
public void setPan(int pan);
public void setVolume(int volume);
public void stop();
public void transferToSoundBuffer(DSResourceDesc resourceDesc, int flags);
public void writeBuffer(int start, int size, byte[] buffer, int flags);