|
YAACC - UPNP Client and Server
|
The CodecHeader of a pcm stream is a RIFF WAVE header (docs/tech.md, "Binary protocol"): 44 bytes with a format chunk of integer PCM and an empty data chunk. More...

Static Public Member Functions | |
| static byte[] | build (int sampleRate, int channels, int bitsPerSample) |
The CodecHeader of a pcm stream is a RIFF WAVE header (docs/tech.md, "Binary protocol"): 44 bytes with a format chunk of integer PCM and an empty data chunk.
The lengths of a stream are not known, so the RIFF size is that of the header alone and the data length is 0; a reader takes only the format from it (the app's own client does not trust the lengths either).