struct oscillator { int type; char name[128]; } struct sin_oscillator { struct oscillator osc; } get_next_sample(osc_handle, sample_rate, time?) pa_callback // sound system callback to get next FRAMES_PER_BUFFER frames |__ get_frame // creates a single frame -> corresponding to X samples where X is the number of channels (2 for our stereo case) |__ make_sample