Ejemplo n.º 1
0
 protected GLFWVideo(string contentName, GLFWSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     channelHandle = openAL.CreateChannel();
     buffers       = openAL.CreateBuffers(NumberOfBuffers);
     openAL        = soundDevice;
 }
Ejemplo 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];
 }
Ejemplo n.º 3
0
 protected OpenALSound(string contentName, GLFWSoundDevice openAL)
     : base(contentName)
 {
     this.openAL = openAL;
 }