Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

net::threebit::jvr::DX_XPB Class Reference

Inheritance diagram for net::threebit::jvr::DX_XPB:

net::threebit::jvr::JvrJni net::threebit::jvr::JVRBaseClass List of all members.

Public Member Functions

 DX_XPB () throws JVRException
 DX_XPB (int wFileFormat, long nSamplesPerSec, long wBitsPerSample, long wDataFormat) throws JVRException
String toString ()
native void release () throws JVRException
void finalize ()

Static Public Member Functions

DX_XPB waveFormat () throws JVRException
DX_XPB getWavFormat (File file) throws JVRException

Public Attributes

int wFileFormat
long nSamplesPerSec
long wBitsPerSample
long wDataFormat

Static Package Functions

 [static initializer]

Private Member Functions

native void allocate () throws JVRException

Private Attributes

int offset = -1

Constructor & Destructor Documentation

net::threebit::jvr::DX_XPB::DX_XPB  )  throws JVRException [inline]
 

Definition at line 41 of file DX_XPB.java.

References allocate().

Referenced by getWavFormat(), and waveFormat().

net::threebit::jvr::DX_XPB::DX_XPB int  wFileFormat,
long  nSamplesPerSec,
long  wBitsPerSample,
long  wDataFormat
throws JVRException [inline]
 

Definition at line 47 of file DX_XPB.java.

References allocate(), nSamplesPerSec, wBitsPerSample, wDataFormat, and wFileFormat.


Member Function Documentation

net::threebit::jvr::DX_XPB::[static initializer]  )  [inline, static, package]
 

Reimplemented from net::threebit::jvr::JvrJni.

native void net::threebit::jvr::DX_XPB::allocate  )  throws JVRException [private]
 

Allocates a native-context DX_XPB structure. This method is marked private since it is called automatically by the constructor.

Referenced by DX_XPB().

void net::threebit::jvr::DX_XPB::finalize  )  [inline]
 

Ensures that the DX_XPB structure allocated to this instance is released.

Definition at line 100 of file DX_XPB.java.

References release().

DX_XPB net::threebit::jvr::DX_XPB::getWavFormat File  file  )  throws JVRException [inline, static]
 

Returns a DX_XPB object suitable for use with the specified audio file. If the file is not supported then a JVRException is thrown.

Definition at line 119 of file DX_XPB.java.

References DX_XPB().

native void net::threebit::jvr::DX_XPB::release  )  throws JVRException
 

Releases the native-context DX_XPB structure.

Referenced by finalize().

String net::threebit::jvr::DX_XPB::toString  )  [inline]
 

Definition at line 66 of file DX_XPB.java.

References nSamplesPerSec, offset, wBitsPerSample, wDataFormat, and wFileFormat.

DX_XPB net::threebit::jvr::DX_XPB::waveFormat  )  throws JVRException [inline, static]
 

Returns an often required DX_XPB structure for wave playback and recording. Equivalent to the following:

Definition at line 81 of file DX_XPB.java.

References DX_XPB().


Member Data Documentation

long net::threebit::jvr::DX_XPB::nSamplesPerSec
 

Definition at line 34 of file DX_XPB.java.

Referenced by net::threebit::jvr::util::T1Diag::doRecord(), DX_XPB(), net::threebit::jvr::console::Example12::run(), net::threebit::jvr::test::dxTests::HideThese::test19_rec_play_async(), and toString().

int net::threebit::jvr::DX_XPB::offset = -1 [private]
 

Native buffer offset.

Definition at line 39 of file DX_XPB.java.

Referenced by toString().

long net::threebit::jvr::DX_XPB::wBitsPerSample
 

Definition at line 35 of file DX_XPB.java.

Referenced by net::threebit::jvr::util::T1Diag::doRecord(), DX_XPB(), net::threebit::jvr::console::Example12::run(), net::threebit::jvr::test::dxTests::HideThese::test19_rec_play_async(), and toString().

long net::threebit::jvr::DX_XPB::wDataFormat
 

Definition at line 36 of file DX_XPB.java.

Referenced by net::threebit::jvr::util::T1Diag::doRecord(), DX_XPB(), net::threebit::jvr::console::Example12::run(), net::threebit::jvr::test::dxTests::HideThese::test19_rec_play_async(), and toString().

int net::threebit::jvr::DX_XPB::wFileFormat
 

Definition at line 33 of file DX_XPB.java.

Referenced by net::threebit::jvr::util::T1Diag::doRecord(), DX_XPB(), net::threebit::jvr::console::Example12::run(), net::threebit::jvr::test::dxTests::HideThese::test19_rec_play_async(), and toString().


The documentation for this class was generated from the following file:
Generated on Sat Jul 16 03:47:43 2005 for JVR by doxygen 1.3.5