PageRenderTime 46ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/Multimedia/OpenTK/OpenTKChannel.cs

#
C# | 24 lines | 13 code | 1 blank | 10 comment | 0 complexity | 6eb237393b909cb1b8a1440831ca7cdc MD5 | raw file
Possible License(s): Apache-2.0
  1. using Delta.Multimedia.BaseOpenAL;
  2. namespace Delta.Multimedia.OpenTK
  3. {
  4. /// <summary>
  5. /// OpenTK sound class overriding BaseOpenALChannel because of the
  6. /// loading the sound modules via the namespace e.g.
  7. /// <AudioModule>OpenTK</AudioModule>, so it won't find the
  8. /// BaseOpenALSound. :/
  9. /// </summary>
  10. internal class OpenTKChannel : BaseOpenALChannel
  11. {
  12. #region Constructors
  13. /// <summary>
  14. /// Create a new OpenTK sound channel instance.
  15. /// </summary>
  16. /// <param name="parentSound">Parent sound instance.</param>
  17. public OpenTKChannel(NativeSound parentSound)
  18. : base(parentSound)
  19. {
  20. }
  21. #endregion
  22. }
  23. }