• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1**parselib**
2==========
3Classes for parsing and loading audio data.
4
5## Abstract
6(Oboe) **parselib** contains facilities for reading and loading audio data from streams. Streams can be wrapped around either files or memory blocks.
7
8**parselib** is written in C++ and is intended to be called from Android native code. It is implemented as a static library.
9
10## Supported Encodings
11* Microsoft WAV format
12
13## **parselib** project structure
14* stream
15Contains classes related to reading audio data from a stream abstraction
16
17* wav
18Contains classes to read/load audio data in WAV format
19
20## **stream** Classes
21### InputStream
22An abstract class that defines the `InputStream` interface.
23
24### FileInputStream
25A concrete implementation of `InputStream` that reads data from a file.
26
27### MemInputStream
28A concrete implementation of `InputStream` that reads data from a memory block.
29
30## **wav** Classes
31Contains classes to read/load audio data in WAV format. WAV format files are "Microsoft Resource Interchange File Format" (RIFF) files. WAV files contain a variety of RIFF "chunks", but only a few are required (see 'Chunk' classes below)
32
33### Utility
34#### AudioEncoding
35Defines constants for various audio encodings
36
37### WavTypes
38Support for **RIFF** file types and managing FOURCC data.
39
40### WAV Data I/O
41#### WavStreamReader
42Parses and loads WAV data from an InputStream.
43
44### WAV Data
45#### WavChunkHeader
46Defines common fields and operations for all WAV format RIFF Chunks.
47
48#### WavFmtChunkHeader
49Defines fields and operations for RIFF '`fmt `' chunks
50
51#### WavRIFFChunkHeader
52Defines fields and operations for RIFF '`data`' chunks
53