Tried that one. Doesn't work for me. Here is a test program that has a
toggle button that calls View.stopView() or View.startView(). The cube
rotation stops, but the sound continues... at least on my machine. (J3D
1.2opengl FCS, JDK 1.3)
BTW, do you know if J3D1.2 for DirectX is still scheduled for release
this month?
-Lee
J. Lee Dixon
Software Engineer
SAIC - Celebration, FL
[EMAIL PROTECTED]
-----Original Message-----
From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 23, 2000 5:47 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Disable rendering and sound
Hi,
The sound can be stop by using View.stopView().
- Kelvin
------------
Java 3D Team
Sun Microsystems Inc.
>MIME-Version: 1.0
>Date: Fri, 23 Jun 2000 08:35:26 -0400
>From: "J. Lee Dixon" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Disable rendering and sound
>To: [EMAIL PROTECTED]
>
>In my application, the user may select a tab in a tab stack to show
>other windows besides my Canvas3D. When the switch is made, I
currently
>call Canvas3D.stopRenderer(), which turns off the full-time CPU hogging
>rendering. But any background sound I have going keeps playing. I
also
>tried stopping the scheduler, but that did not work either.
>
>How can I stop sounds from playing when I have paused the canvas
>rendering?
>
>Lee
>
>
>J. Lee Dixon
>Software Engineer
>SAIC - Celebration, FL
>[EMAIL PROTECTED]
>
>=======================================================================
====
>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".
TestBed.java