Пример #1
0
 protected OpenTKVideo(string contentName, OpenTKSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     channelHandle = openAL.CreateChannel();
     buffers       = openAL.CreateBuffers(NumberOfBuffers);
     openAL        = soundDevice;
 }
Пример #2
0
 protected OpenTKMusic(string contentName, OpenTKSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     openAL = soundDevice;
     channelHandle = openAL.CreateChannel();
     buffers = openAL.CreateBuffers(NumberOfBuffers);
     bufferData = new byte[BufferSize];
 }
Пример #3
0
 protected OpenTKMusic(string contentName, OpenTKSoundDevice soundDevice)
     : base(contentName, soundDevice)
 {
     openAL        = soundDevice;
     channelHandle = openAL.CreateChannel();
     buffers       = openAL.CreateBuffers(NumberOfBuffers);
     bufferData    = new byte[BufferSize];
 }