All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Esken <c.esken@cityweb.de>
To: alsa-devel@lists.sourceforge.net
Subject: alsa-lib: Error code 1 from snd_mixer_selem_set_capture_switch_all()
Date: Wed, 12 Nov 2003 13:03:42 +0100	[thread overview]
Message-ID: <200311121303.42282.c.esken@cityweb.de> (raw)

Hello,

I have a problem with snd_mixer_selem_set_capture_switch_all() from alsa-lib.
The documentation states:

/**
 * \brief Set value of capture switch control for all channels of a mixer 
simple element
 * \param elem Mixer simple element handle
 * \param value control value
 * \return 0 on success otherwise a negative error code
 */
int snd_mixer_selem_set_capture_switch_all(snd_mixer_elem_t *elem, int value)

So I should receive either 0 or a negative value. But I receive a return value 
of 1. Does anybody know what this means?!? Any help is appreciated greatly.

Greetings,
           Chris


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/

             reply	other threads:[~2003-11-12 12:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-12 12:03 Christian Esken [this message]
2003-11-15 10:24 ` Bug in alsa-lib (Was: alsa-lib: Error code 1 from snd_mixer_selem_set_capture_switch_all() ) Christian Esken
2003-11-19 15:38   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311121303.42282.c.esken@cityweb.de \
    --to=c.esken@cityweb.de \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.