Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: lamikr <lamikr@cc.jyu.fi>
To: lamikr@cc.jyu.fi
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@lists.sourceforge.net
Subject: Re: How to select between mixer route elements?
Date: Tue, 09 May 2006 02:55:53 +0300	[thread overview]
Message-ID: <445FDA89.5090303@cc.jyu.fi> (raw)
In-Reply-To: <445B7771.1030409@cc.jyu.fi>


>>>       if (snd_mixer_selem_is_enumerated(elem_playback)) {
>>>           printf("Playback is enumerated\n");
>>>           snd_mixer_selem_get_enum_item(handle, 0, old_playback_item);
>>>      
>>>
Sorry, I found the error myself, it was my typo... :-(
I put the mixer handle for snd_mixer_selem_get_enum_item as a first
parameter when I was supposed to put the element handle. (elem_playback)

Anyway I would appreciate if somebody could comment whether it is ok to
put the selection between 3 different playback targets for the route method
(loudspeaker, headphone, cellphone) instead of putting own mute/unmute
switch control for each of them separately?

Mika


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-05-08 23:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 22:06 How to select between mixer route elements? lamikr
2006-05-02 12:18 ` Takashi Iwai
2006-05-05 16:04   ` lamikr
2006-05-08 23:55     ` lamikr [this message]
2006-05-10 11:14       ` 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=445FDA89.5090303@cc.jyu.fi \
    --to=lamikr@cc.jyu.fi \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox