Re: Mac mini sound woes

From: Lee Revell
Date: Tue Mar 29 2005 - 15:22:07 EST


On Tue, 2005-03-29 at 21:31 +0200, Takashi Iwai wrote:
> Well I don't remember the discussion thread on alsa-devel about this,
> but it's a good idea that alsa-lib checks the capability of hw-mixing
> and apples dmix only if necessary. (In the case of softvol, it can
> check the existence of hw control by itself, though.)
>
> Currently, dmix is enabled per driver-type base. That is, dmix is set
> to default in each driver's configuration which is known to have no hw
> mixing functionality.

It was not discussed at length.

Anyway, I think you can detect hardware mixing support comparing the
number of substreams to the numebr of streams for a device. If the
ratio is greater than 1, hardware mixing is supported.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/