示例#1
0
 public static IALBuffer GenBuffer()
 {
     if (ALDevice == null)
     {
         throw new NoAudioHardwareException();
     }
     return(ALDevice.GenBuffer());
 }
 public static IALBuffer GenBuffer(int sampleRate, AudioChannels channels)
 {
     if (ALDevice == null)
     {
         throw new NoAudioHardwareException();
     }
     return(ALDevice.GenBuffer(sampleRate, channels));
 }