Changeset 4add9fe38b3ef395be2deee5930bd0b6b0a7cd07

Show
Ignore:
Timestamp:
03/09/08 12:39:39 (6 months ago)
Author:
Filippo Carone <littlejohn@videolan.org>
git-committer:
Filippo Carone <littlejohn@videolan.org> 1205062779 +0100
git-parent:

[f8b641ed9bf0cec1a945ec5bebdd136e2acfc7d0]

git-author:
Filippo Carone <littlejohn@videolan.org> 1205062779 +0100
Message:

do not throw VLCException in Audio

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bindings/java/org/videolan/jvlc/Audio.java

    r9ac46b4 r4add9fe  
    2828package org.videolan.jvlc; 
    2929 
    30 import java.util.HashMap; 
    31 import java.util.HashSet; 
    32 import java.util.Iterator; 
    33 import java.util.Map; 
    34 import java.util.Set; 
    35  
    3630import org.videolan.jvlc.internal.LibVlc.libvlc_exception_t; 
    3731 
     
    4236    private final JVLC jvlc; 
    4337 
     38    /** 
     39     * Constant for left channel audio 
     40     */ 
     41    public static final int LEFT_CHANNEL = 3; 
     42 
     43    /** 
     44     * Constant for right channel audio 
     45     */ 
     46    public static final int RIGHT_CHANNEL = 4; 
     47 
     48    /** 
     49     * Constant for reverse channel audio 
     50     */ 
     51    public static final int REVERSE_CHANNEL = 2; 
     52 
     53    /** 
     54     * Constant for stereo channel audio 
     55     */ 
     56    public static final int STEREO_CHANNEL = 1; 
     57 
     58    /** 
     59     * Constant for dolby channel audio 
     60     */ 
     61    public final int DOLBY_CHANNEL = 5; 
     62 
     63     
    4464    public Audio(JVLC jvlc) 
    4565    { 
     
    4767    } 
    4868 
    49     public int getTrack(MediaInstance mediaInstance) throws VLCException 
     69    public int getTrack(MediaInstance mediaInstance) 
    5070    { 
    5171        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    5373    } 
    5474 
    55     public void setTrack(MediaInstance mediaInstance, int track) throws VLCException 
     75    public void setTrack(MediaInstance mediaInstance, int track) 
    5676    { 
    5777        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    5979    } 
    6080 
    61     public int getChannel() throws VLCException 
     81    public int getChannel() 
    6282    { 
    6383        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    6585    } 
    6686 
    67     public void setChannel(int channel) throws VLCException 
     87    public void setChannel(int channel) 
    6888    { 
    6989        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    7191    } 
    7292 
    73     public boolean getMute() throws VLCException 
     93    public boolean getMute() 
    7494    { 
    7595        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    7797    } 
    7898 
    79     public void setMute(boolean value) throws VLCException 
     99    public void setMute(boolean value) 
    80100    { 
    81101        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    83103    } 
    84104 
    85     public void toggleMute() throws VLCException 
     105    public void toggleMute() 
    86106    { 
    87107        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    89109    } 
    90110 
    91     public int getVolume() throws VLCException 
     111    public int getVolume() 
    92112    { 
    93113        libvlc_exception_t exception = new libvlc_exception_t(); 
     
    95115    } 
    96116 
    97     public void setVolume(int volume) throws VLCException 
     117    public void setVolume(int volume) 
    98118    { 
    99119        libvlc_exception_t exception = new libvlc_exception_t();