#include "fixed.h"
#include "frame.h"


Go to the source code of this file.
Data Structures | |
| struct | mad_pcm |
| struct | mad_synth |
Defines | |
| #define | mad_synth_finish(synth) |
Enumerations | |
| enum | { MAD_PCM_CHANNEL_SINGLE = 0 } |
| single channel PCM selector More... | |
| enum | { MAD_PCM_CHANNEL_DUAL_1 = 0, MAD_PCM_CHANNEL_DUAL_2 = 1 } |
| dual channel PCM selector More... | |
| enum | { MAD_PCM_CHANNEL_STEREO_LEFT = 0, MAD_PCM_CHANNEL_STEREO_RIGHT = 1 } |
| stereo PCM selector More... | |
Functions | |
| void | mad_synth_init (struct mad_synth *) |
| Initializes synth struct. | |
| void | mad_synth_mute (struct mad_synth *) |
| Zeroes all polyphase filterbank values, resetting synthesis. | |
| void | mad_synth_frame (struct mad_synth *, struct mad_frame const *) |
| perform PCM synthesis of frame subband samples. | |
Definition in file synth.h.
| #define mad_synth_finish | ( | synth | ) |
| anonymous enum |
| anonymous enum |
| anonymous enum |
perform PCM synthesis of frame subband samples.
Definition at line 835 of file synth.c.
References mad_pcm::channels, mad_frame::header, mad_pcm::length, MAD_NCHANNELS, MAD_NSBSAMPLES, MAD_OPTION_HALFSAMPLERATE, mad_frame::options, mad_synth::pcm, mad_synth::phase, mad_header::samplerate, mad_pcm::samplerate, synth_full(), and synth_half().
Referenced by run_sync().

| void mad_synth_init | ( | struct mad_synth * | ) |
Initializes synth struct.
Definition at line 38 of file synth.c.
References mad_pcm::channels, mad_pcm::length, mad_synth_mute(), mad_synth::pcm, mad_synth::phase, and mad_pcm::samplerate.
Referenced by run_sync().

| void mad_synth_mute | ( | struct mad_synth * | ) |
Zeroes all polyphase filterbank values, resetting synthesis.
Definition at line 52 of file synth.c.
References mad_synth::filter, and s.
Referenced by mad_synth_init().
1.5.5