All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <syrjala@sci.fi>
To: alsa-devel@lists.sourceforge.net
Subject: Re: GUS driver status : multiple open of /dev/dsp ?
Date: Sat, 8 Jun 2002 01:41:57 +0300	[thread overview]
Message-ID: <20020608014157.A9573@sci.fi> (raw)
In-Reply-To: <E17GMUB-0000Vj-00@usw-sf-list1.sourceforge.net>; from pbd@op.net on Fri, Jun 07, 2002 at 12:22:02PM -0400

On Fri, Jun 07, 2002 at 12:22:02PM -0400, Paul Davis 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
> 
> can you try it with the -I option, and also the -m option (in all
> combinations)?

I wont be able to do any testing until next week. I know -I works but
AFAIK only with mono files. As I said it only works with up tp two files.
Due to channels_max being hardcoded to 2 in snd_pcm_hardware_t. -I sets
the access type to noninterleaved so it's not really the problem here.

Did you mean -M as in mmap? It's not supported anymore. There used to be
some ugly hack to make it work but Jaroslav threw it out. It's interesting
to note that capture claims to support mmap (I haven't tested). I don't
understand what the actual problem with mmap and playback is. You'd have
to ask Jaroslav.

-- 
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/

_______________________________________________________________

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

  reply	other threads:[~2002-06-07 22:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-06  9:29 GUS driver status : multiple open of /dev/dsp ? Vincent Vanackere
2002-06-06 23:43 ` Ville Syrjälä
2002-06-07  1:20   ` Paul Davis
     [not found]   ` <200206070115.g571FruU002754@fe02.mail.jippii.net>
2002-06-07 13:32     ` Ville Syrjälä
2002-06-07 16:22       ` Paul Davis
2002-06-07 22:41         ` Ville Syrjälä [this message]
2002-06-11  7:04       ` Jaroslav Kysela
2002-06-12 14:33         ` Ville Syrjälä
2002-06-07 13:41   ` Vincent Vanackere

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=20020608014157.A9573@sci.fi \
    --to=syrjala@sci.fi \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.