From: <paco@hydrofunk.org>
To: linux-sound@vger.kernel.org
Subject: Re: OSS/Free /dev/audio full duplex sound format.
Date: Mon, 22 May 2000 22:29:32 +0000 [thread overview]
Message-ID: <marc-linux-sound-95903472415091@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-95903210912907@msgid-missing>
Well, this isn't really a "work-around", but...
All you should have to do is make ioctl calls to change the sample format.
It's all documented in the OSS programmers guide.
As for why it switched on you in the first place... I have no idea.
--Paco
On Mon, 22 May 2000, Dave Mielke wrote:
> When /dev/audio is opened, it's supposed to start with the sound format set to
> mulaw (Sun .snd format). When I open it for read/write (O_RDWR), however, it
> appears that it switches to unsigned 8-bit linear. Does anyone know what the
> cause of this switch in format is, and how, if at all, it can be worked around?
>
> --
> Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the
> Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
> EMail: dave@mielke.cc | Canada K2B 6G3 | if you're concerned about Hell.
>
next prev parent reply other threads:[~2000-05-22 22:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-22 21:39 OSS/Free /dev/audio full duplex sound format Dave Mielke
2000-05-22 22:29 ` paco [this message]
2000-05-23 12:03 ` Dave Mielke
2000-05-23 12:37 ` Gianmaria Collazuol
2000-05-23 18:09 ` Jeff Garzik
2000-05-24 12:33 ` Dave Mielke
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=marc-linux-sound-95903472415091@msgid-missing \
--to=paco@hydrofunk.org \
--cc=linux-sound@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox