PortAudio  2.0
Data Structures | Macros | Functions
patest_wasapi_ac3.c File Reference

Use WASAPI-specific interface to send raw AC3 data to a S/PDIF output. More...

#include <stdio.h>
#include <windows.h>
#include "portaudio.h"
#include "pa_win_wasapi.h"

Data Structures

struct  paTestData
 

Macros

#define NUM_SECONDS   (200)
 
#define SAMPLE_RATE   (48000)
 
#define FRAMES_PER_BUFFER   (64)
 
#define CHANNEL_COUNT   (2)
 
#define AC3_FILEPATH   "./test_48k.ac3.spdif"
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Use WASAPI-specific interface to send raw AC3 data to a S/PDIF output.

Author
Ross Bencina rossb.nosp@m.@aud.nosp@m.iomul.nosp@m.ch.c.nosp@m.om, Jie Ding gabys.nosp@m.999@.nosp@m.gmail.nosp@m..com

Macro Definition Documentation

#define AC3_FILEPATH   "./test_48k.ac3.spdif"

Referenced by main().

#define CHANNEL_COUNT   (2)

Referenced by main().

#define FRAMES_PER_BUFFER   (64)

Referenced by main().

#define NUM_SECONDS   (200)

Referenced by main().

#define SAMPLE_RATE   (48000)

Referenced by main().

Function Documentation

int main ( int  argc,
char *  argv[] 
)