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

Use WASAPI-specific interface to send raw EAC3 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   (192000)
 
#define FRAMES_PER_BUFFER   (64)
 
#define CHANNEL_COUNT   (2)
 
#define EAC3_FILEPATH   "./test_48k.eac3.spdif"
 

Functions

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

Detailed Description

Use WASAPI-specific interface to send raw EAC3 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 CHANNEL_COUNT   (2)

Referenced by main().

#define EAC3_FILEPATH   "./test_48k.eac3.spdif"

Referenced by main().

#define FRAMES_PER_BUFFER   (64)

Referenced by main().

#define NUM_SECONDS   (200)

Referenced by main().

#define SAMPLE_RATE   (192000)

Referenced by main().

Function Documentation

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