OpenJDK 6 build 12 source posted (directaudio/alsa backend)

Mark Wielaard mark at klomp.org
Tue Sep 23 03:08:45 PDT 2008


Hi Joe,

On Mon, 2008-09-22 at 12:54 -0700, Joseph D. Darcy wrote:
> Mark Wielaard wrote:
> > Although not in your changelogs, I saw you also included two of my fixes
> > for the ALSA directaudio backend which I posted back in May on
> > sound-dev, and which are included in icedtea already.
> > - The sloppy open/close patch:
> > http://mail.openjdk.java.net/pipermail/sound-dev/2008-May/000053.html
> > - The ALSA native lock patch:
> > http://mail.openjdk.java.net/pipermail/sound-dev/2008-May/000054.html
> >
> > Although it makes some applets that use some primitive sound output work
> > better I never got a real response. Did you get someone from the sound
> > team to look at these patches? They do seem to work for me and the few
> > test users of those applets, but a full review by one of the sound
> > engineers would be appreciated. They don't seem to be in the JDK7 tree.
> >   
> No; the patches were not explicitly reviewed; Alex, please take a look 
> at them.

Thanks.

> Neither Gervill nor your patches have yet been incorporated into JDK 7.

What is the reason for having them in JDK6, but not in JDK7?

> > Karl did correctly pointed out back then that we just need a better/new
> > sound backend. I do hope in time the pulseaudio backend that Ioana and
> > Omair are working on will be that backend.
> >   
> I don't have any technical background to speak of in sound, so I'll let 
> others weigh in on evaluating any new backends.

The problem with the current backend is that hacks like the above seem
to be necessary. And I found these deadlocks and "single channel"
restrictions by just running some simple applets that used sound. Which
did actually surprise me because either I am missing something, or the
current backend is just not at all production ready. You can find the
pulseaudio backend at http://icedtea.classpath.org/hg/pulseaudio and
discussion and patches go to the icedtea mailinglist
distro-pkg-dev at openjdk.java.net

Cheers,

Mark




More information about the jdk6-dev mailing list