Example #1
0
 protected OpenTKVideo(string contentName, OpenTKSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     channelHandle = openAL.CreateChannel();
     buffers       = openAL.CreateBuffers(NumberOfBuffers);
     openAL        = soundDevice;
 }
Example #2
0
 protected OpenTKMusic(string contentName, OpenTKSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     openAL = soundDevice;
     channelHandle = openAL.CreateChannel();
     buffers = openAL.CreateBuffers(NumberOfBuffers);
     bufferData = new byte[BufferSize];
 }
Example #3
0
 protected OpenTKMusic(string contentName, OpenTKSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     openAL        = soundDevice;
     channelHandle = openAL.CreateChannel();
     buffers       = openAL.CreateBuffers(NumberOfBuffers);
     bufferData    = new byte[BufferSize];
 }
Example #4
0
 protected OpenTKSound(string contentName, OpenTKSoundDevice openAL)
     : base(contentName)
 {
     this.openAL = openAL;
 }
Example #5
0
 protected OpenALSound(string contentName, OpenTKSoundDevice openAL)
     : base(contentName)
 {
     this.openAL = openAL;
 }