Pyalsaaudio

Latest version: v0.11.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.8.5

- Return an empty string/bytestring when `read()` detects an
overrun. Previously the returned data was undefined (contributed by jcea)

- Unlimited setperiod buffer size when reading frames (contributed by jcea)

0.8.4

- Fix Python3 API usage broken in 0.8.3

0.8.3

- Add DSD sample formats (contributed by lintweaker)
- Add Mixer.handleevents() to acknowledge events identified by select.poll (contributed by PaulSD)
- Add functions for listing cards and their names (contributed by chrisdiamand)
- Add a method for setting enums (contributed by chrisdiamand)

0.8.2

- fix 3 (we cannot get the revision from git for pip installs)

0.8.1

- document changes (this file)

0.8

- `PCM()` has new `device` and `cardindex` keyword arguments.

The keyword `device` allows to select virtual devices, `cardindex` can be
used to select hardware cards by index (as with `mixers()` and `Mixer()`).

The `card` keyword argument is still supported, but deprecated.

The reason for this change is that the `card` keyword argument guessed
a device name from the card name, but this only works sometimes, and breaks
opening virtual devices.

- new function `pcms()` to list available PCM devices.

- `mixers()` and `Mixer()` take an additional `device` keyword argument.
This allows to list or open virtual devices.

- The default behaviour of `Mixer()` without any arguments has changed.
Now Mixer() will try to open the `default` Mixer instead of the Mixer
that is associated with card 0.

- fix a memory leak under Python 3.x

- some more memory leaks in error conditions fixed.

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.