Improve calculation of default latencies on Mac CoreAudio.

Allow very low buffer sizes if suggestedLatency is low.
Set actual latencies in StreamInfo.
This commit is contained in:
philburk 2011-07-21 08:29:26 +00:00
commit e3387a98a7
3 changed files with 266 additions and 111 deletions

View file

@ -122,7 +122,7 @@ static int QaCallback( const void *inputBuffer, void *outputBuffer,
PaQaData *data = (PaQaData *) userData;
(void) inputBuffer;
/* Play simle sawtooth wave. */
/* Play simple sawtooth wave. */
if( data->mode == MODE_OUTPUT )
{
phase = data->sawPhase;