|
PortAudio 2.0
|
Use WASAPI-specific interface to send raw AC3 data to a S/PDIF output. More...
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[]) |
Use WASAPI-specific interface to send raw AC3 data to a S/PDIF output.
| #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().
| int main | ( | int | argc, |
| char * | argv[] ) |
References AC3_FILEPATH, paTestData::buffer, paTestData::bufferSampleCount, CHANNEL_COUNT, PaStreamParameters::channelCount, PaWasapiStreamInfo::channelMask, PaDeviceInfo::defaultLowOutputLatency, PaHostApiInfo::defaultOutputDevice, PaStreamParameters::device, ePassthroughFormatDolbyDigital, 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_STEREO, paWinWasapiExclusive, paWinWasapiPassthrough, paWinWasapiUseChannelMask, paTestData::playbackIndex, SAMPLE_RATE, PaStreamParameters::sampleFormat, PaWasapiStreamInfo::size, PaStreamParameters::suggestedLatency, and PaWasapiStreamInfo::version.