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