Skip to content

🚀Preview Release - v1.0.0-preview.18

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Apr 10:00
· 9 commits to preview since this release
9775585

CASL Preview Release Notes - v1.0.0-preview.18

Quick Reminder

As with all software, there is always a chance for issues and bugs, especially for preview releases, which is why your input is greatly appreciated. 🙏🏼

New Features ✨

  1. #158 - Added the ability to process sounds as a stream directly from the audio on disk.
  2. #158 - Added a new property to the Sound class, (now named Audio) named BufferType to see what type of buffer the audio was set to upon creation.
  3. #158 - Added the ability to retain loop settings after switching to a new device.

Bug Fixes 🐛

  1. #158 - Fixed a bug where if the sound has never been played or was stopped in addition to the play speed being set to a value other than the default value, the sound would not retain its original play speed when switching audio devices.

Breaking Changes 🧨

  1. #158 - Introduced the following breaking changes:
    • Refactored the name of the SoundDataException to AudioDataException.
    • Changed the ALDevice struct to internal.
    • Changed the ALContext struct to internal.
    • Changed the following enums to internal. These were not meant to be part of the public API.
      • AlcContextAttributes
      • AlcContextAttributes
      • AlcGetStringList
      • ALGetString
      • AlcError
    • Changed the name of the ISound interface to IAudio for a more clear and concise public API.
    • Changed the name of the Sound class to Audio for a more clear and concise public API.
    • Added a parameter to the Sound class to choose the type of buffer.
    • Removed the Sound.Stop method due to confusion between stop and reset.
    • Refactored the name of the SoundTime struct to AudioTime.
    • Refactored the SoundTime, (now named AudioTime) to a read-only record struct for a more clear and concise public API.
    • Refactored the SoundState enum to AudioState for a more clear and concise public API.
    • Removed deprecated serialization implementation for the following exceptions across the project.
      NOTE: This is to avoid using the deprecated serialization methods that may pose security vulnerabilities or compatibility issues in the future.
      • UnknownPlatformException
      • StringNullOrEmptyException
      • LoadLibraryException
      • AudioException
      • InitializeDeviceException
      • AudioDeviceManagerNotInitializedException
      • AudioDeviceDoesNotExistException
      • AudioDataException

Dependency Updates 📦

  1. #348 - Updated dependency KinsonDigital.CASL to v1.0.0-preview.18
  2. #321, #333, #343 - Updated dependency system.io.abstractions to v21.0.0
  3. #331, #327 - Updated dependency simpleinjector to v5.4.4
  4. #330, #339, #329, #322 - Updated dependency xunit to v2.7.0
  5. #339, #329, #322 - Updated dependency xunit.runner.visualstudio to v2.5.6
  6. #325, #326, #328 - Updated kinsondigital/infrastructure action to v13.6.3
  7. #341 - Updated dependency coverlet.msbuild to v6.0.2
  8. #340 - Updated dependency coverlet.collector to v6.0.2
  9. #336 - Updated dependency microsoft.net.test.sdk to v17.9.0

Other 🪧

  1. #345 - Finished replacing moq code with nsubstitute code.
  2. #332 - Updated the README.
  3. #303 - Removed Assert Extensions.