Hello everyone,

        I've had really great results with ALSA's ice1712 driver getting
pro-audio applications working.  I've been constantly impressed at how
well things work!

        However, I really can't figure out how to get it to do simple
things like playback music and IM boings ::-)  I'd eventually like to
get dmixing setup, but I can't even get simple playback going.

        When I point apps at hw:0 they all complain that the device
doesn't support their sample format.  ogg123 complains "ALSA
snd_pcm_hw_params_set_periods error: Invalid argument".

        Of course the irony is that everything works really well through
OSS emulation.  I just want to get used to ALSA naming, get dmix
setup, and stop using esd.  My /etc/asound.conf follows; it only
contains configuration to multiplex OSS emulation devices.

        Why can JACK apps use my ALSA setup fine, but not ALSA apps?

Thanks for the help!

pcm.ossmix {
        type dmix
        ipc_key 1024          # must be unique!
        slave {
                pcm "hw:0,0"      # you cannot use a "plug" device here, darn.
                period_time 0
                period_size 1024  # must be power of 2
                buffer_size 4096  # dito. It
                rate 44100
        }
        bindings {
                0 0   # from 0 => to 0
                1 1   # from 1 => to 1
        }
}

pcm.dsp0 {
    type plug
    slave.pcm "ossmix"     # use our new PCM here
}

ctl.mixer0 {
    type hw
    card 0
}


-- 
Ross Vandegrift
[EMAIL PROTECTED]

A Pope has a Water Cannon.                               It is a Water Cannon.
He fires Holy-Water from it.                        It is a Holy-Water Cannon.
He Blesses it.                                 It is a Holy Holy-Water Cannon.
He Blesses the Hell out of it.          It is a Wholly Holy Holy-Water Cannon.
He has it pierced.                It is a Holey Wholly Holy Holy-Water Cannon.
He makes it official.       It is a Canon Holey Wholly Holy Holy-Water Cannon.
Batman and Robin arrive.                                       He shoots them.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to