1 package org.videolan.jvlc;
3 public class Audio implements AudioIntf {
5 private long libvlcInstance;
7 private native boolean _getMute();
8 private native void _setMute( boolean value );
9 private native void _toggleMute();
10 private native int _getVolume();
11 private native void _setVolume( int volume );
13 public Audio( long instance ) {
14 this.libvlcInstance = instance;
17 public boolean getMute() throws VLCException {
21 public void setMute(boolean value) throws VLCException {
26 public void toggleMute() throws VLCException {
30 public int getVolume() throws VLCException {
34 public void setVolume(int volume) throws VLCException {
39 public long getInstance() {
40 return libvlcInstance;