lkml.org 
[lkml]   [1999]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re: 2.2, es1370, stereo, 8bit
> Hi!

Actually, it was micheal that I was helping with this.

> I used kde to play the file when a message box opens.
>
> Also I use wavplay.cc which I wrote myself.
> It calls
>
> sound = open("/dev/dsp", O_RDWR);
> status = ioctl(sound, SOUND_PCM_WRITE_BITS, &arg); /*
> Bits/sample */
> status = ioctl(sound,SOUND_PCM_WRITE_CHANNELS, &arg); /* channels */
> status=ioctl(sound,SOUND_PCM_WRITE_RATE, &arg); /* samplingrate */
>
> Then data is written to the device.
>
> The sound is awful on /dev/dsp. It is good on /dev/dsp1.

This file is a stereo 22k sample (8bit) try in your program to force it mono
44k and see if it's any different.

> http://michael.kawo2.rwth-aachen.de/~michael/download/warning1.wav

This was the same file I was playing with as well.

--
Lab tests show that use of micro$oft causes cancer in lab animals

-
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:53    [W:0.193 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site