🚀Preview Release - v1.0.0-preview.18
Pre-release
Pre-release
github-actions
released this
05 Apr 10:00
·
9 commits
to preview
since this release
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 ✨
- #158 - Added the ability to process sounds as a stream directly from the audio on disk.
- #158 - Added a new property to the
Sound
class, (now namedAudio
) namedBufferType
to see what type of buffer the audio was set to upon creation. - #158 - Added the ability to retain loop settings after switching to a new device.
Bug Fixes 🐛
- #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 🧨
- #158 - Introduced the following breaking changes:
- Refactored the name of the
SoundDataException
toAudioDataException
. - Changed the
ALDevice
struct tointernal
. - Changed the
ALContext
struct tointernal
. - 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 toIAudio
for a more clear and concise public API. - Changed the name of the
Sound
class toAudio
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 toAudioTime
. - Refactored the
SoundTime
, (now namedAudioTime
) to a read-only record struct for a more clear and concise public API. - Refactored the
SoundState
enum toAudioState
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
- Refactored the name of the
Dependency Updates 📦
- #348 - Updated dependency KinsonDigital.CASL to v1.0.0-preview.18
- #321, #333, #343 - Updated dependency system.io.abstractions to v21.0.0
- #331, #327 - Updated dependency simpleinjector to v5.4.4
- #330, #339, #329, #322 - Updated dependency xunit to v2.7.0
- #339, #329, #322 - Updated dependency xunit.runner.visualstudio to v2.5.6
- #325, #326, #328 - Updated kinsondigital/infrastructure action to v13.6.3
- #341 - Updated dependency coverlet.msbuild to v6.0.2
- #340 - Updated dependency coverlet.collector to v6.0.2
- #336 - Updated dependency microsoft.net.test.sdk to v17.9.0