Urbi SDK Remote for Java  2.7.5
urbi.SoundUtilities Class Reference

The SoundUtilities class is full of handy static methods. More...

List of all members.

Static Public Member Functions

static boolean getBigEndian ()
 Returns true if audio data is in big endian mode.
static int getChannels ()
 Returns the number of channels.
static AudioFormat getFormat ()
static float getSampleRate ()
 Returns the sample rate.
static int getSampleSizeInBits ()
 Returns the sample size.
static boolean getSigned ()
 Returns true if audio data is signed.
static int sendSound (String filename, UClient client) throws IOException
static void setBigEndian (boolean i)
 Sets the big endian value.
static void setChannels (int i)
 Sets the number of channels.
static void setSampleRate (float f)
 Sets the sample rate.
static void setSampleSizeInBits (int i)
 Sets the sample size.
static void setSigned (boolean i)
 Sets the signed value.

Detailed Description

The SoundUtilities class is full of handy static methods.

Author:
Bastien Saltel

Definition at line 25 of file SoundUtilities.java.


Member Function Documentation

static boolean urbi.SoundUtilities.getBigEndian ( ) [static]

Returns true if audio data is in big endian mode.

Returns:
True if audio data is in big endian mode, false otherwise.

Definition at line 126 of file SoundUtilities.java.

static int urbi.SoundUtilities.getChannels ( ) [static]

Returns the number of channels.

Definition at line 86 of file SoundUtilities.java.

static float urbi.SoundUtilities.getSampleRate ( ) [static]

Returns the sample rate.

Definition at line 50 of file SoundUtilities.java.

static int urbi.SoundUtilities.getSampleSizeInBits ( ) [static]

Returns the sample size.

Definition at line 68 of file SoundUtilities.java.

static boolean urbi.SoundUtilities.getSigned ( ) [static]

Returns true if audio data is signed.

Returns:
True if audio data is signed, false otherwise.

Definition at line 106 of file SoundUtilities.java.

static void urbi.SoundUtilities.setBigEndian ( boolean  i) [static]

Sets the big endian value.

Definition at line 115 of file SoundUtilities.java.

static void urbi.SoundUtilities.setChannels ( int  i) [static]

Sets the number of channels.

Definition at line 77 of file SoundUtilities.java.

static void urbi.SoundUtilities.setSampleRate ( float  f) [static]

Sets the sample rate.

Definition at line 41 of file SoundUtilities.java.

static void urbi.SoundUtilities.setSampleSizeInBits ( int  i) [static]

Sets the sample size.

Definition at line 59 of file SoundUtilities.java.

static void urbi.SoundUtilities.setSigned ( boolean  i) [static]

Sets the signed value.

Definition at line 95 of file SoundUtilities.java.


The documentation for this class was generated from the following file: