Skip to content

Commit

Permalink
Prepare 13.6.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Feb 19, 2022
1 parent efa027b commit 934d2dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,8 @@ Changes relevant to the users of python-tcod are documented here.
This project adheres to [Semantic Versioning](https://semver.org/) since version `2.0.0`.

## [Unreleased]

## [13.6.0] - 2022-02-19
### Added
- `BasicMixer` and `Channel` classes added to `tcod.sdl.audio`. These handle simple audio mixing.
- `AudioDevice.convert` added to handle simple conversions to the active devices format.
Expand Down
8 changes: 4 additions & 4 deletions tcod/sdl/audio.py
Expand Up @@ -69,7 +69,7 @@ def convert_audio(
out_format: The output format of the converted array.
out_channels: The number of audio channels of the output array.
.. versionadded:: unreleased
.. versionadded:: 13.6
.. seealso::
:any:`AudioDevice.convert`
Expand Down Expand Up @@ -201,7 +201,7 @@ def convert(self, sound: ArrayLike, rate: Optional[int] = None) -> NDArray[Any]:
rate: The samplerate of the input array.
If None is given then it's assumed to be the same as the device.
.. versionadded:: unreleased
.. versionadded:: 13.6
.. seealso::
:any:`convert_audio`
Expand Down Expand Up @@ -279,7 +279,7 @@ def __call__(self, channel: Channel) -> None:
class Channel:
"""An audio channel for :any:`BasicMixer`. Use :any:`BasicMixer.get_channel` to initialize this object.
.. versionadded:: unreleased
.. versionadded:: 13.6
"""

mixer: BasicMixer
Expand Down Expand Up @@ -374,7 +374,7 @@ class BasicMixer(threading.Thread):
while channel.busy:
time.sleep(0.001)
.. versionadded:: unreleased
.. versionadded:: 13.6
"""

def __init__(self, device: AudioDevice):
Expand Down

0 comments on commit 934d2dd

Please sign in to comment.