PortAudio
2.0
|
Use WASAPI-specific interface to send raw EAC3 data to a S/PDIF output. More...
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[]) |
Use WASAPI-specific interface to send raw EAC3 data to a S/PDIF output.
#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().
int main | ( | int | argc, |
char * | argv[] | ||
) |
References paTestData::buffer, paTestData::bufferSampleCount, CHANNEL_COUNT, PaStreamParameters::channelCount, PaWasapiStreamInfo::channelMask, PaDeviceInfo::defaultLowOutputLatency, PaHostApiInfo::defaultOutputDevice, PaStreamParameters::device, EAC3_FILEPATH, PaWasapiStreamPassthrough::encodedChannelCount, PaWasapiStreamPassthrough::encodedSamplesPerSec, ePassthroughFormatDolbyDigitalPlus, PaWasapiStreamInfo::flags, PaWasapiStreamPassthrough::formatId, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, PaWasapiStreamInfo::hostApiType, NUM_SECONDS, Pa_CloseStream(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_GetHostApiInfo(), Pa_HostApiTypeIdToHostApiIndex(), Pa_Initialize(), Pa_IsFormatSupported(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paFormatIsSupported, paInt16, paNoError, PaWasapiStreamInfo::passthrough, paWASAPI, PAWIN_SPEAKER_5POINT1, paWinWasapiExclusive, paWinWasapiPassthrough, paWinWasapiUseChannelMask, paTestData::playbackIndex, SAMPLE_RATE, PaStreamParameters::sampleFormat, PaWasapiStreamInfo::size, PaStreamParameters::suggestedLatency, and PaWasapiStreamInfo::version.