Changes v1.0.17 v1.0.17a

From AlsaProject
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Changelog between 1.0.17 and 1.0.17a releases

alsa-lib

Core

IEC958 definition for consumer status channel update
Release v1.0.17a

PCM API

Add boolean (mute) functionality to softvol plugin
clamp snd_pcm_rewind()/snd_pcm_forward() into the right direction
fix type of internally used sframes variable, to avoid unnecessary casts
fix return value of snd_pcm_rewind()/snd_pcm_forward() to return how much actually has been rewound, instead of what actually could have rewound
Fix interleave check in pcm_direct.c
Fix non-tread mode with PCM direct plugins

Detailed changelog between 1.0.17 and 1.0.17a releases

alsa-lib

Core

- IEC958 definition for consumer status channel update
Updated IEC958 consumer status channel definitions according
to the third edition of IEC60958-3 spec.
Signed-off-by: Pawel Moll <pawel.moll@st.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- Release v1.0.17a
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

PCM API

- Add boolean (mute) functionality to softvol plugin
When the resolution is set to 2, a boolean control is created as a
mute switch instead of a volume control.
Also, fixed the possible zero-division error.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- clamp snd_pcm_rewind()/snd_pcm_forward() into the right direction
The clamping of the input parameter in snd_pcm_rewind()/_forward() is
in the wrong direction.
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- fix type of internally used sframes variable, to avoid unnecessary casts
This minor patch fixes the type of the sframes variable in
snd_pcm_plugin_forward(). With this fix we need to cast less and the
code is less confusing.
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- fix return value of snd_pcm_rewind()/snd_pcm_forward() to return how much actually has been rewound, instead of what actually could have rewound
Make snd_pcm_plugin_rewind()/_forward() actually return how much has
been rewound/forwarded instead of how much could have been
rewounded/forwarded. This makes the code actually do what the
documentation of snd_pcm_rewind() suggests.
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Fix interleave check in pcm_direct.c
Fix the check of interleaved format. It checked a totally bogus value
as PCM format.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
- Fix non-tread mode with PCM direct plugins
tread=0 wasn't set properly for very old ALSA drivers with no timer
tread support.
Signed-off-by: Takashi Iwai <tiwai@suse.de>