linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@cs.anu.edu.au>
To: jquinn@nortelnetworks.com
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Broken sound?
Date: Tue, 20 Jul 1999 16:10:53 +1000	[thread overview]
Message-ID: <199907200610.QAA09787@tango.anu.edu.au> (raw)
In-Reply-To: <14227.17537.383252.433328@gargle.gargle.HOWL> (jquinn@nortelnetworks.com)


Jerry Quinn <jquinn@nortelnetworks.com> wrote:

> Hmm, junk.au started out as a wav file from Gnome.  I originally was trying to 
> get the wav files working and then figured I'd try converting with sox to au.

The .wav reader in KDE had an endianness problem in how it read the
header.  That problem is fixed in the rpms that Franz Sirl put up.
Maybe the .wav reader in gnome has the same problem.

> How is playing of other sound formats handled?  How is the sample rate and
> stereo set?

Ioctls on /dev/dsp or /dev/audio.  The only difference between them is
that with /dev/dsp you get whatever was last set (or 8kHz linear 8-bit
mono at startup), whereas with /dev/audio it gets set to 8kHz mu-law
8-bit mono on the open.  There is documentation at www.opensound.com.

> What is /dev/audio1?  Is that a separate device for the internal speaker?
> Also, is there supposed to be /dev/dsp?  I seem to have /dev/dsp1 only.  I
> presume this is access to the mixer?

You should have a /dev/dsp (char device 14,3).  /dev/audio1 and
/dev/dsp1 would correspond to a second sound card, which you don't
have.  Powermacs have one (stereo) sound output channel which can be
routed to the speaker and/or the headphone.

Paul.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

  reply	other threads:[~1999-07-20  6:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-15 18:16 Broken sound? Jerry Quinn
1999-07-15 18:44 ` Joseph Palani Garcia
1999-07-16  0:57   ` Paul Mackerras
1999-07-15 21:34 ` Peter Handel
1999-07-16  0:49 ` Paul Mackerras
1999-07-19 15:30 ` Jerry Quinn
1999-07-20  6:10   ` Paul Mackerras [this message]
1999-07-20 14:23     ` Jerry Quinn

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=199907200610.QAA09787@tango.anu.edu.au \
    --to=paulus@cs.anu.edu.au \
    --cc=Paul.Mackerras@cs.anu.edu.au \
    --cc=jquinn@nortelnetworks.com \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).