Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


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

Methods

getCaps

public void getCaps(DSBCaps caps);

getCurrentPosition

public void getCurrentPosition(DSCursors cursors);

getFormat

public void getFormat(byte[] format, int size);

getFormatSize

public int getFormatSize();

getFrequency

public int getFrequency();

getPan

public int getPan();

getStatus

public int getStatus();

getVolume

public int getVolume();

play

public void play(int flags);

restore

public void restore();

setCurrentPosition

public void setCurrentPosition(int newPosition);

setFormat

public void setFormat(byte[] format);

setFrequency

public void setFrequency(int frequency);

setPan

public void setPan(int pan);

setVolume

public void setVolume(int volume);

stop

public void stop();

transferToSoundBuffer

public void transferToSoundBuffer(DSResourceDesc resourceDesc, int flags);

writeBuffer

public void writeBuffer(int start, int size, byte[] buffer, int flags);

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.