All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Underwood <nemesis-lists@icequake.net>
To: alsa-devel@lists.sourceforge.net
Subject: Re: cs4248 / thinkpad 755 / 755c , patch suggestions [PATCH]]
Date: Tue, 8 Jul 2003 14:54:37 -0500	[thread overview]
Message-ID: <20030708195437.GL1030@dbz.icequake.net> (raw)
In-Reply-To: <s5hd6gkdimp.wl@alsa2.suse.de>


Hi Takashi,

On Tue, Jul 08, 2003 at 07:37:50PM +0200, Takashi Iwai wrote:
> > On Tue, Jul 08, 2003 at 07:27:06PM +0200, Takashi Iwai wrote:
> > > > The results are pasted below -- what is strange is that aplay identifies
> > > > the file as 11025Hz but apparently the OSS driver thinks it is 8000Hz
> > > > data.
> > >  
> > > ah, i understand.  you cannot cat to /dev/dsp in general.
> > > if you do this, it's supposed to be 8kHz mono samples.
> > 
> > Hmm, limitation of the ad1848 driver, of ALSA OSS emulation, or OSS API?
> 
> IIRC, it's the definition of this OSS device.
> well, i'm not sure this is officially so.
> but at least, /dev/audio is supposed to be in these formats, and we
> initialize /dev/dsp as well.
> 
> btw, for testing the OSS emulation, you can try play command included
> in sox package.

You are correct, play works correctly but catting does not.  It seems,
however, that many OSS drivers support cat a wav file directly to /dev/dsp,
and do the detection of the format parameters internally.  I guess this is not
required by the OSS specification?

-- 
Ryan Underwood, <nemesis at icequake.net>, icq=10317253


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps

  reply	other threads:[~2003-07-08 19:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-07 20:53 cs4248 / thinkpad 755 / 755c , patch suggestions [PATCH]] Ryan Underwood
2003-07-08 10:50 ` Takashi Iwai
2003-07-08 13:58   ` Ryan Underwood
2003-07-08 17:27     ` Takashi Iwai
2003-07-08 17:32       ` Ryan Underwood
2003-07-08 17:37         ` Takashi Iwai
2003-07-08 19:54           ` Ryan Underwood [this message]
2003-07-09 12:39             ` Takashi Iwai
2003-07-09 16:05               ` Ryan Underwood
2003-07-09 16:28                 ` Jaroslav Kysela
2003-07-09 21:04                   ` Ryan Underwood
2003-07-08 17:01   ` Ryan Underwood
2003-07-08 17:21     ` 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=20030708195437.GL1030@dbz.icequake.net \
    --to=nemesis-lists@icequake.net \
    --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.