public void setPause(boolean pause) {
			if (ogg != null) {
				if (pause) {
					ogg.pause();
				} else {
					ogg.resume();
				}
			}

			if (clip != null) {
				// Catch any errors.
				try {
					// Can we mute?
					if (clip.isControlSupported(BooleanControl.Type.MUTE)) {
						// Get the control.
						BooleanControl muteControl = (BooleanControl) clip
								.getControl(BooleanControl.Type.MUTE);

						// Mute or unmute.
						muteControl.setValue(pause);
					}
				} catch (Exception e) {
					// The get control or cast operation failed.
					// That's okay, but let them know.
					e.printStackTrace();
				}
			}
		}