header
Class WaveFormatEx

java.lang.Object
  extended by header.WaveFormatEx

public class WaveFormatEx
extends java.lang.Object

Formatdaten für Wavedateien

Author:
Michael Steppat

Field Summary
 short cbSize
          Bytelänge von zusätzlichen Formatangaben
 int nAvgBytesPerSec
          Anzahl der übertragenen Bytes pro Sekunde.
 short nBlockAlign
          Anzahl der Bytes je Block.
 short nChannels
          Anzahl der Kanäle (1 = mono, 2 = stereo)
 int nSamplesPerSec
          Abtastrate (z.B. 32000, 44100 oder 48000 Hz)
 short wBitsPerSample
          Anzahl der Bits je Sample (8 bei 8-Bit und 16 bei 16-Bit)
 short wFormatTag
          Kennung des Formats (z.B. 1 für PCM)
 
Constructor Summary
WaveFormatEx()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cbSize

public short cbSize
Bytelänge von zusätzlichen Formatangaben


nAvgBytesPerSec

public int nAvgBytesPerSec
Anzahl der übertragenen Bytes pro Sekunde. Dividiert durch 8 erhält man die Bitrate


nBlockAlign

public short nBlockAlign
Anzahl der Bytes je Block. Für 8-Bit Monodateien wird der Wert 1, für 16-Bit Monodateien der Wert 2 angegeben, für 16-Bit Stereodateien ist er 4.


nChannels

public short nChannels
Anzahl der Kanäle (1 = mono, 2 = stereo)


nSamplesPerSec

public int nSamplesPerSec
Abtastrate (z.B. 32000, 44100 oder 48000 Hz)


wBitsPerSample

public short wBitsPerSample
Anzahl der Bits je Sample (8 bei 8-Bit und 16 bei 16-Bit)


wFormatTag

public short wFormatTag
Kennung des Formats (z.B. 1 für PCM)

Constructor Detail

WaveFormatEx

public WaveFormatEx()