-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> In general what u hear are underrun errors ( where the sound device is not
> feed fast enough ).
Sorry, meant to say "underrun" in my previous mail. Overruns aren't a problem
of course :)
> second generalization is that the linux/sound is not a real-time system -
> an active swap can really do ur program, as well as the proper feeding of
> the device, "in" . Higher priority tasks can also cause problems, although
> from experience, a computationally intensive task at standard priority did
> not cause any observable problems.
Yes but this under high load. Everything else works fine, but with Java I
*always* have the same problem (and this is on an Athlon 500 w/ 384 megs of
RAM - CPU/swap isn't a problem).
> And Yes, the GC can do u in also. All threads are stopped just so u can do
> a GC. The bigger the mem model, the longer it takes. And the longer
> nothing happens!
Yep, but there's no co-relation between the GC and the pauses in this case.
Although the pauses are short so they're more like "clicks" rather than
something that would be caused by a buffer underrun due to GC.
> Also in general the sound device buffer is ~64k bytes. That may sound like
> a lot, but at CD quality ( ~44khz/channel ) And stereo ( 2 channels ) And
> 16bit quality u are talking about ( 44000*2*2) 196000bytes/second. Which,
> if the pipe was full, gives u about 1/3 second of sound, before it needs to
> be feed, or go into underflow ( silence ).
>
> Not going at full CD speed might help with the underruns.
True, but again this isn't a performance issue. Even if the Java process
takes 2% of the CPU, I still have the problem.
I take it you haven't seen such problems as a general rule with Java/Linux?
Thanks!
- --
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE652o2DNor2+l1i30RAonTAJ4ywByGBsd6kbOyONPeSHtnrMXiFQCgqf8S
FRkMGClDvbRb3MVVhenSIRI=
=U03W
-----END PGP SIGNATURE-----
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]