Lines Matching defs:format
24 * This class represents the header of a WAVE format audio file, which usually
27 * <li> format - usually PCM, ALAW or ULAW.
39 // follows WAVE format in http://ccrma.stanford.edu/courses/422/projects/WaveFormat
45 /** Indicates PCM format. */
47 /** Indicates ALAW format. */
49 /** Indicates ULAW format. */
66 * @param format format of audio data,
73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) {
74 mFormat = format;
82 * Get the format field.
83 * @return format field,
91 * Set the format field.
92 * @param format
96 public WaveHeader setFormat(short format) {
97 mFormat = format;
271 return String.format(
272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",