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