Beispiel #1
0
 protected GLFWVideo(string contentName, GLFWSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     channelHandle = openAL.CreateChannel();
     buffers       = openAL.CreateBuffers(NumberOfBuffers);
     openAL        = soundDevice;
 }
Beispiel #2
0
 protected GLFWMusic(string contentName, GLFWSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     openAL        = soundDevice;
     channelHandle = openAL.CreateChannel();
     buffers       = openAL.CreateBuffers(NumberOfBuffers);
     bufferData    = new byte[BufferSize];
 }