All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Bailey <martin@pcalpha.com>
To: alsa-devel@alsa-project.org
Subject: Playback through softvol locks mixer
Date: Tue, 12 Jul 2011 12:13:41 -0700	[thread overview]
Message-ID: <4E1C9CE5.4070109@pcalpha.com> (raw)

Hi,

I setup an ALSA plugin chain to allow individual volume-controlled mono 
access to a 4-channel sound card. I'm including the asound.conf only for 
the first channel. Whenever I open "plug:playback1" and play audio, it 
appears the "playback1" softvol mixer goes locked and any attempt to 
change its value within the same or another application results in 
"Operation not permitted". Can you think of something I might be missing?

pcm.playback8k {
         type dmix
         ipc_key 666
         ipc_perm 0666
         slave {
                 pcm "hw:0"
                 format S16_LE
                 channels 4
                 rate 8000
                 buffer_size 8192
                 period_size 1024
         }
         bindings.0 0
         bindings.1 1
         bindings.2 2
         bindings.3 3
}

pcm.playback8k1 {
         type route
         slave {
                 pcm "playback8k"
                 format S16_LE
                 channels 4
         }
         ttable.0.0 1
}

pcm.playback1 {
         type softvol
         slave.pcm "playback8k1"
         control.name "playback1"
         control.card 0
         control.count 1
         min_dB -51.0
         max_dB 0.0
         resolution 256
}
ctl.playback1 {
         type hw
         card 0
}

                 reply	other threads:[~2011-07-12 19:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4E1C9CE5.4070109@pcalpha.com \
    --to=martin@pcalpha.com \
    --cc=alsa-devel@alsa-project.org \
    /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.