All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Alan Horstmann <gineera@aspect135.co.uk>
Cc: ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: Alsa-OSS Duplex bug (revisited)
Date: Mon, 04 Jun 2007 10:45:18 +0200	[thread overview]
Message-ID: <1180946718.26554.1193268319@webmail.messagingengine.com> (raw)
In-Reply-To: <200706032055.27495.gineera@aspect135.co.uk>

Alan Horstmann wrote:
> So that there is no misunderstanding, are you willing to confirm that, as far 
> as Alsa-OSS goes, opening both
> 	input_handle = open("/dev/dsp", O_RDONLY)
> and
> 	output_handle = open("/dev/dsp", O_WRONLY)
> at the same time is a reliable way to open the device bi-directional, enabling 
> different sample formats and/or numbers of channels to be set?  (Actually, I 
> am curious whether different sample rates would also work?)

Yes; yes.

This is the _only_ way.  If the hardware supports it, any driver (not
only ALSA) has no choice but to support this.


Regards,
Clemens

  reply	other threads:[~2007-06-04  8:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-27 22:23 Alsa-OSS Duplex bug (revisited) Alan Horstmann
2007-05-29 16:55 ` Takashi Iwai
2007-05-29 22:16   ` Alan Horstmann
2007-05-30  6:47     ` Clemens Ladisch
2007-05-30 17:05       ` Takashi Iwai
2007-05-30 22:12         ` Alan Horstmann
2007-05-31 21:00       ` Alan Horstmann
2007-06-01  9:56         ` Takashi Iwai
2007-06-03 19:55           ` Alan Horstmann
2007-06-04  8:45             ` Clemens Ladisch [this message]
2007-06-04 11:51               ` Alan Horstmann
2007-06-04  8:50             ` Takashi Iwai
2007-06-04 11:53               ` Alan Horstmann
2007-06-04 12:21                 ` Takashi Iwai
2007-06-04 20:42                   ` Alan Horstmann
2007-06-04 21:14                     ` Takashi Iwai

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=1180946718.26554.1193268319@webmail.messagingengine.com \
    --to=cladisch@fastmail.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=gineera@aspect135.co.uk \
    /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.