[alsa-devel] [PATCH 0/6] snd-usb endpoint rework, version 7

Grant Diffey gdiffey at gmail.com
Fri Apr 13 03:39:04 CEST 2012


On Fri, Apr 13, 2012 at 9:59 AM, Grant Diffey <gdiffey at gmail.com> wrote:

> On Thu, Apr 12, 2012 at 9:51 PM, Daniel Mack <zonque at gmail.com> wrote:
>
>> Here's the 7th iteration of patches that reimplement the streaming logic
>> of
>> the ALSA USB audio driver.
>>
>> There were some bugs reportes by Felix and Grant, which have been
>> resolved.
>>
>> More testing is definitely important, but maybe the code will get a wider
>> test coverage when merged to the development tree?
>>
>
> So I've also tested this against the current -rt head and can report that
> it solves the clicking problem with playback there as well.
>
> Grant.
>


so dumb question...

is setting a sane set of alsa controls a problem for the driver or
userspace/distributions?

the problem is.

if all volumes are max on module insert. the ftu is essentially unusable
untill they're corrected

and there's no event for device removal (you don't eject a soundcard)


A script like this:

*

#!/bin/bash
i=0
j=0
for i in $(seq 8); do
        for j in $(seq 8); do
                if [ "$i" != "$j" ]; then
                        amixer -c Ultra set "DIn$i - Out$j" 0% > /dev/null
                else
                        amixer -c Ultra set "DIn$i - Out$j" 100% > /dev/null
                fi
                amixer -c Ultra set "AIn$i - Out$j" 0% > /dev/null
        done
done

*Sets the internal mixer to a 1:1 mapping to outputs (so each input
corresponds to each output)


Thoughts?


More information about the Alsa-devel mailing list