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

With xanim the sound was OK, but with my wavplay it wasn´t. So I looked
with strace what that program does in another way than mine. And I
looked at the sources and modified my program until I got good sound.

So now I have a solution for the problem from application side:

int kkk=16;
ioctl(sound, SNDCTL_DSP_SETFRAGMENT, &kkk);

If kkk=8 the sound is like before.
With kkk=16 it seems to be OK. Greater values are also OK.
With kkk=4 or less, the sound becomes more dirty.

So you can look at this in the driver so that it sets these things
right.

Greetings, Michael

-
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.073 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site