From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Problem with multiopen on SB Audigy 2
Date: Tue, 07 Oct 2003 23:16:32 +0100 [thread overview]
Message-ID: <3F833B40.9070009@superbug.demon.co.uk> (raw)
In-Reply-To: <s5h4qylkmbk.wl@alsa2.suse.de>
[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]
Takashi Iwai wrote:
> At Tue, 07 Oct 2003 18:00:22 +0100,
> James Courtier-Dutton wrote:
>
>>I have 2 sound cards, card 0 is the motherboard intel/alc650 one, and
>>card 1 is a SB Audigy2
>>
>>Playing two streams at once on device "front:1" works: -
>>aplay -D front:1 filename.wav
>>aplay -D front:1 filename.wav
>>So, this is playing two files to the SB Audigy2 front speakers.
>>I can hear the two files being mixed together and output together to a
>>single set of speakers.
>>
>>Playing two streams at once on device "rear:1" fails: -
>>aplay -D rear:1 filename.wav
>>aplay -D rear:1 filename.wav
>>So, this is trying to play two files to the SB Audigy2 rear speakers.
>>
>>The first files comes out of the rear speakers, but the output from the
>>second aplay command fails with: -
>>
>>bash-2.05b# aplay -D rear:1 filename.wav
>>Playing WAVE 'filename.wav' : Signed 16 bit Little Endian, Rate 44100
>>Hz, Stereo
>>ALSA lib setup.c:94:(snd_sctl_install) Cannot lock ctl elem
>>aplay: set_params:876: Unable to install hw params:
>>ACCESS: RW_INTERLEAVED
>>FORMAT: S16_LE
>>SUBFORMAT: STD
>>SAMPLE_BITS: 16
>>FRAME_BITS: 32
>>CHANNELS: 2
>>RATE: 44100
>>PERIOD_TIME: (125011 125012)
>>PERIOD_SIZE: 5513
>>PERIOD_BYTES: 22052
>>PERIODS: 2
>>BUFFER_TIME: (250022 250023)
>>BUFFER_SIZE: 11026
>>BUFFER_BYTES: 44104
>>TICK_TIME: 1000
>>
>>Can you explain why this might be happening?
>
>
> this is because the "Wave Surround Playback Volume" control is locked
> by the first rear stream.
> you can find it in /usr/share/alsa/cards/Audigy2.conf.
> please try to remove the lock.
>
>
> Takashi
>
Thanks that fixed the problem.
Please see attached patch files, for the SB Live and Audigy2, both of
which have been tested.
Cheers
James
[-- Attachment #2: Audigy2-rear-multiopen-fix.diff --]
[-- Type: text/plain, Size: 369 bytes --]
--- Audigy2.conf.org 2003-10-07 23:07:43.642213872 +0100
+++ Audigy2.conf 2003-10-07 23:13:48.954677936 +0100
@@ -31,12 +31,6 @@
type ctl_elems
hook_args [
{
- name "Wave Surround Playback Volume"
- preserve true
- lock true
- value [ 0 0 ]
- }
- {
name "EMU10K1 PCM Send Volume"
index { @func private_pcm_subdevice }
lock true
[-- Attachment #3: emu10k1-rear-multiopen-fix.diff --]
[-- Type: text/plain, Size: 369 bytes --]
--- EMU10K1.conf.org 2003-10-07 23:13:20.972931808 +0100
+++ EMU10K1.conf 2003-10-07 23:13:31.115389920 +0100
@@ -31,12 +31,6 @@
type ctl_elems
hook_args [
{
- name "Wave Surround Playback Volume"
- preserve true
- lock true
- value [ 0 0 ]
- }
- {
name "EMU10K1 PCM Send Volume"
index { @func private_pcm_subdevice }
lock true
next prev parent reply other threads:[~2003-10-07 22:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-07 17:00 Problem with multiopen on SB Audigy 2 James Courtier-Dutton
2003-10-07 17:08 ` Takashi Iwai
2003-10-07 22:16 ` James Courtier-Dutton [this message]
2003-10-08 11:08 ` Jaroslav Kysela
2003-10-08 13:42 ` Takashi Iwai
2003-10-08 13:49 ` Jaroslav Kysela
2003-10-08 14:05 ` Takashi Iwai
2003-10-08 14:24 ` Jaroslav Kysela
2003-10-08 14:39 ` Takashi Iwai
2003-10-08 14:44 ` Jaroslav Kysela
2003-10-08 15:00 ` Takashi Iwai
2003-10-08 15:44 ` Jaroslav Kysela
2003-10-08 15:58 ` Takashi Iwai
2003-10-08 16:27 ` Jaroslav Kysela
2003-10-09 1:14 ` James Courtier-Dutton
2003-10-09 13:13 ` Jaroslav Kysela
2003-10-08 22:36 ` Problem with multiopen on SB Audigy 2 / Mixer setting James Courtier-Dutton
2003-10-07 18:02 ` Problem with multiopen on SB Audigy 2 Jaroslav Kysela
-- strict thread matches above, loose matches on Subject: below --
2003-10-09 6:52 p z oooo
2003-10-09 13:26 ` 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=3F833B40.9070009@superbug.demon.co.uk \
--to=james@superbug.demon.co.uk \
--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