From: Simon Lewis <simon.lewis@mnet-online.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: pcm_multi broken in alsa-lib - no duplex mode
Date: Sun, 11 Mar 2007 19:33:37 +0100 [thread overview]
Message-ID: <45F44B81.9060206@mnet-online.de> (raw)
In-Reply-To: <s5hslcegynp.wl%tiwai@suse.de>
Dear Takashi
I think I have another pointer which may help solve this problem.
The libasound.so.2.0.0 compiled using the pcm_multi in alsa-lib-1.0.13
has a compiled size of 719.6 kB on openSUSE 10.2.
The patched pcm_multi (that is the unlinked version from
alsa-lib-1.0.8) has a complied size of 2.6 MB.
To my naive way of thinking, the current pcm_multi forgets to compile
63% of the code..!
Further, no complicated hardware is needed to test the pcm_multi in
duplex mode.
Any sound card can be used that has an alsa-driver similar to ca0106
whereby the surround sound outputs are assigned to two or more devices -
each device being a stereo pair. Use the function type "multi" in
asound.conf to combine all the devices back to one virtual hardware and
then try using the "combined" virtual driver in duplex mode, e.g from
QJackCtl.
Best reagrds, Simon
Takashi Iwai schrieb:
> At Thu, 8 Mar 2007 21:51:28 +0000,
> John Rigg wrote:
>
>> On Thu, Mar 08, 2007 at 07:58:23PM +0100, Takashi Iwai wrote:
>>
>>> At Thu, 08 Mar 2007 18:16:02 +0100,
>>> Simon Lewis wrote:
>>>
>>>> Many JACK users have successfully used the following patch:
>>>>
>>>> http://www.sound-man.co.uk/linuxaudio/pcm_multi-patch
>>>>
>>> Well, the patch is no real fix. It's likely a workaround for JACK,
>>> though. Someone has to take time to track down this bug more deeply.
>>>
>> True, the patch is just a workaround for JACK. However, I would
>> argue that most users of pcm_multi are probably JACK users.
>>
>
> No, multi plugin is used in many surround PCM definitions as default.
> It's pretty hidden, but multi streams are no rare case.
>
>
>> Surely adding code that breaks something for the majority of users (no
>> matter how correct that code is in isolation) is not a good thing.
>>
>
> Sure. However, this code addition was for bugfixes of major other use
> cases like above, IIRC. The regression should be avoided and should
> be fixed. But the point is, we (at least, I) haven't been enough
> informed, unfortunately (or simply burried in a big TODO list :)
>
> Now, let's back to the original problem: Could someone give a pointer
> describing for this problem, or just explain a bit details here?
> I vaguely remember but not precisely at all now...
> I'm willing to dig down after knowing how I can reproduce the bug.
>
>
> thanks,
>
> Takashi
>
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-03-11 18:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-08 17:16 pcm_multi broken in alsa-lib - no duplex mode with jackd Simon Lewis
2007-03-08 17:22 ` Lee Revell
2007-03-08 18:58 ` Takashi Iwai
2007-03-08 21:51 ` John Rigg
2007-03-09 16:38 ` Takashi Iwai
2007-03-09 17:02 ` Achim_Kuntz
2007-03-10 14:17 ` John Rigg
2007-03-12 23:46 ` Takashi Iwai
2007-03-13 2:01 ` Takashi Iwai
2007-03-13 2:07 ` Takashi Iwai
2007-03-13 9:05 ` Simon Lewis
2007-03-13 9:18 ` Takashi Iwai
2007-03-14 18:41 ` Simon Lewis
2007-03-13 15:34 ` John Rigg
2007-03-11 18:33 ` Simon Lewis [this message]
2007-03-12 11:44 ` pcm_multi broken in alsa-lib - no duplex mode Takashi Iwai
2007-03-09 0:57 ` pcm_multi broken in alsa-lib - no duplex mode with jackd Lee Revell
2007-03-08 19:02 ` John Rigg
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=45F44B81.9060206@mnet-online.de \
--to=simon.lewis@mnet-online.de \
--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 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.