Microsoft SDK for Java

DirectSoundResource Class

Applications use the DirectSoundResource Class of the com.ms.directX package to load wave format objects.

public class DirectSoundResource implements
            IDirectSoundResource
{
  // Methods
  public void loadWaveFile(String name,
        DSResourceDesc resourceDesc, byte[] wave);
  public WaveFormatEx loadWaveFile(String name,
        DSResourceDesc resourceDesc);
  public void loadWaveResource(int handle,
        DSResourceDesc resourceDesc, byte[] wave);
  public WaveFormatEx loadWaveResource(int handle,
        DSResourceDesc resourceDesc);
  public void readBuffer(int sourceIndex, int destIndex, int size,
        DSResourceDesc resourceDesc, byte[] buffer, int maxbuf);
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.