PortAudio  2.0
Macros | Functions
paex_read_write_wire.c File Reference

Tests full duplex blocking I/O by passing input straight to output. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "portaudio.h"

Go to the source code of this file.

Macros

#define SAMPLE_RATE   (44100)
#define FRAMES_PER_BUFFER   (1024)
#define NUM_CHANNELS   (2)
#define NUM_SECONDS   (15)
#define DITHER_FLAG   (0)
#define CHECK_OVERFLOW   (0)
#define CHECK_UNDERFLOW   (0)
#define PA_SAMPLE_TYPE   paInt24
#define SAMPLE_SIZE   (3)
#define SAMPLE_SILENCE   (0)
#define CLEAR(a)   memset( (a), 0, FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE )
#define PRINTF_S_FORMAT   "%d"

Functions

int main (void)

Detailed Description

Tests full duplex blocking I/O by passing input straight to output.

@author Bjorn Roche. XO Audio LLC for Z-Systems Engineering.
Author:
based on code by: Phil Burk http://www.softsynth.com
based on code by: Ross Bencina rossb.nosp@m.@aud.nosp@m.iomul.nosp@m.ch.c.nosp@m.om

Definition in file paex_read_write_wire.c.


Generated for PortAudio by  doxygen1.8.1.1