Logo Search packages:      
Sourcecode: catcodec version File versions  Download package

Functions | Variables

sample.cpp File Reference

#include "stdafx.h"
#include "sample.hpp"
Include dependency graph for sample.cpp:

Go to the source code of this file.


static string ReadString (FileReader &reader)
static void WriteString (const string str, FileWriter &writer)


static const uint32_t RIFF_HEADER_SIZE = 44

Detailed Description

Implementation of Samples

The format of .wav PCM encoded files is fairly simple. The "verbatim" 'RIFF' etc. is written as is in the file. The numbers are always written in the little endian way.

This makes the whole thing 44 bytes + the actual payload long.

Definition in file sample.cpp.

Generated by  Doxygen 1.6.0   Back to index