lkml.org 
[lkml]   [1999]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dspW (fwd)
On Mon, 11 Jan 1999, Mike A. Harris wrote:

> On Sat, 9 Jan 1999, Mike wrote:
>
> >I read somewhere that /dev/dspW, char major 14 minor 5 could be used to
> >play wav format files. Hpwever, this doesn't seem to work - cating a wav
> >to it generates something that sounds vaguely like the wav but at the
> >wrong sample speed. What gives?
>
> This message has nothing to do with the kernel, or development,
> rather it is an RTFM thing.

I'm sorry, but which FM am I s'posed to read? It is not mentioned in
Documentation/devices.txt. It has everything to do with the kernel.

> /dev/dsp is the raw dsp device.

I know what /dev/dsp is.

> It
> does NOT understand wav files. Catting a wav to it will play the
> raw sample data in the wav, but it will also treat the wav header
> as raw data as well, and it plays the data at whatever rate the
> dsp is set to.
>
I know all this. It is not relevant.

> Solution? Use a real program to play wav files.
>
HINT: Try reading mail before you reply to it.

--
Mike <rickettm@ox.compsoc.net>

Distrust all those who love you extremely upon a very slight acquaintance
and without any visible reason.
-- Lord Chesterfield



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog