My teammate sent this question yesterday, but we haven't heard anything
back yet.  The JavaDocs for the JavaSoundMixer (distributed in the Sun
J3D utils) says:
"The JavaSoundMixer Class defines an audio output device that accesses
JavaSound JavaSoundMixer functionality Hae stream data"

I'm not quite sure what that means, but it makes it sound like it uses
JavaSound to play sounds.  We have tried an example MP3 player that
extends JavaSound using SPI, but we still get an exception as if the
sound mixer does not recognize the format.

Can we get some help from Sun on this?  Has anybody had success with
playing anything other than the default filetypes (like MP3)?

BTW, why is the JavaSoundMixer part of the utils?  It is a very large
piece of code, but we thought we might need to write our own.  But this
code uses undocumented classes (j3d.audio.J3DHaeStream and others) to do
the actual work of playing the sample.  How can I write my own if the
example code uses undocumented features of J3D????  And how can extend
the undocumented classes to use a different decoder??

(I have the feeling that these undocumented classes use native calls to
play sounds....)

-Lee

> -----Original Message-----
> From: Scott Vander Weide
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 29, 2001 10:24 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Java3d, Java Sound, and MP3's
>
>
> Hello All,
>
>   I am trying to implement mp3 playback in my Java3D
> environment. I was
> hoping to use the SPI (Service Provider Interface) to do
> this, based on
> an article I read on Java World's website. But I cannot see any direct
> connection, or implied connection for that matter, between Java3D's
> sound renderer/engine and Java Sound. Is there any way I might be able
> to use the SPI to extend Java3D's sound capability to use
> MP3's? Or can
> I go through Java Sound some how and still get the 3D spacial effects?
>
> Thanks,
>
> Scott A. Vander Weide
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to