GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
wavfile.h File Reference
#include <gnuradio/blocks/api.h>
#include <cstdio>
Include dependency graph for wavfile.h:

Go to the source code of this file.

Namespaces

 gr
 Include this header to use the message passing features.
 
 gr::blocks
 

Functions

BLOCKS_API bool gr::blocks::wavheader_parse (FILE *fp, unsigned int &sample_rate, int &nchans, int &bytes_per_sample, int &first_sample_pos, unsigned int &samples_per_chan)
 Read signal information from a given WAV file. More...
 
BLOCKS_API short int gr::blocks::wav_read_sample (FILE *fp, int bytes_per_sample)
 Read one sample from an open WAV file at the current position. More...
 
BLOCKS_API bool gr::blocks::wavheader_write (FILE *fp, unsigned int sample_rate, int nchans, int bytes_per_sample)
 Write a valid RIFF file header. More...
 
BLOCKS_API void gr::blocks::wav_write_sample (FILE *fp, short int sample, int bytes_per_sample)
 Write one sample to an open WAV file at the current position. More...
 
BLOCKS_API bool gr::blocks::wavheader_complete (FILE *fp, unsigned int byte_count)
 Complete a WAV header. More...