mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 00:26:41 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@170 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
6f5d597a79
commit
ef4a6d6942
2 changed files with 12 additions and 7 deletions
|
@ -87,6 +87,7 @@ static int paStreamCallback( const void *inputBuffer, void *outputBuffer,
|
|||
PaStreamCallbackFlags statusFlags,
|
||||
void *userData )
|
||||
{
|
||||
//cout << "paStreamCallback: " << statusFlags << ", currentTime: " << timeInfo->currentTime << ", out: " << timeInfo->outputBufferDacTime << "\n";
|
||||
Stream* stream = (Stream*)userData;
|
||||
short* out = (short*)outputBuffer;
|
||||
|
||||
|
@ -137,7 +138,7 @@ int initAudio()
|
|||
outputParameters.sampleFormat = paInt16; /* 32 bit floating point output */
|
||||
outputParameters.suggestedLatency = Pa_GetDeviceInfo( outputParameters.device )->defaultHighOutputLatency;
|
||||
outputParameters.hostApiSpecificStreamInfo = NULL;
|
||||
std::cerr << "HighLatency: " << outputParameters.suggestedLatency << "\t LowLatency: " << Pa_GetDeviceInfo( outputParameters.device )->defaultLowOutputLatency << "\n";
|
||||
std::cerr << "HighLatency: " << outputParameters.suggestedLatency << "\t LowLatency: " << Pa_GetDeviceInfo( outputParameters.device )->defaultLowOutputLatency << "\n";
|
||||
err = Pa_OpenStream(
|
||||
&paStream,
|
||||
NULL, /* no input */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue