JavaSound Performance Windows vs. Mac OS X

R

Rick Strong

Greetings,

I've written some code that plays soundfiles using classes in javax.sound.sampled. Developing
this code in Windows, I noticed no real problems, but when testing on a Mac (OS X) I noticed
that SourceDataLine.drain() seems to take about 10 seconds to return (blocking all the while)
while it takes just a fraction of a second to do the same thing in Windows. Has anyone else seen
this? Any interesting ideas?


Rick Strong
(e-mail address removed)
remove 'spambegone' to reply to me, of course
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top