On Fri, 7 Jun 2002, [iso-8859-1] Ville Syrjälä wrote:

> On Thu, Jun 06, 2002 at 09:20:31PM -0400, Paul Davis wrote:
> > >The problem with GUS synth is that it uses non-interleaved data layout so
> > >it's not relly useful for pcm stuff. alsa-lib doesn't want to do
> > >the required conversion for some reason.
> > 
> > i find this very suprising and somewhat hard to believe. the
> > hammerfall also uses a non-interleaved data layout (as all the best
> > cards do :), and yet despite the fact that the driver contains no code
> > to handle an interleaved stream, aplay via plughw:N,0 works just
> > fine i.e. alsa-lib handles the conversion perfectly. what makes you
> > think it doesn't work?
> 
> # aplay -D plughw:0,1 stereo.wav
> aplay: set_params:754: Access type not available
> 
> There is a snd_pcm_plug_change_access() function in pcm_plug.c so I'm
> thinking it should work, but it doesn't.

Could you try alsa-lib from current CVS? The problem is, that GUS Synth 
PCM device doesn't support mmaped access at the time, so mmap emulation in 
alsa-lib should be turned on. I've added a GUS.conf file to 
/usr/share/alsa/cards with redefinition of pcm.hw (mmap_emulation is set 
to on).

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to