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