Valid channel id range is from 0 to SND_MIXER_SCHN_LAST,
inclusive, so the array size has to be
SND_MIXER_SCHN_LAST + 1.
---
src/modules/alsa/alsa-mixer.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/modules/alsa/alsa-mixer.h b/src/modules/alsa/alsa-mixer.h
index
On 03/26/2012 01:35 PM, Tanu Kaskinen wrote:
Valid channel id range is from 0 to SND_MIXER_SCHN_LAST,
inclusive, so the array size has to be
SND_MIXER_SCHN_LAST + 1.
This looks correct. A quick grep for SND_MIXER_SCHN_LAST shows similar
arrays in alsa-sink and alsa-source, and also, that my
On Mon, 2012-03-26 at 13:44 +0200, David Henningsson wrote:
On 03/26/2012 01:35 PM, Tanu Kaskinen wrote:
Valid channel id range is from 0 to SND_MIXER_SCHN_LAST,
inclusive, so the array size has to be
SND_MIXER_SCHN_LAST + 1.
This looks correct. A quick grep for SND_MIXER_SCHN_LAST shows