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:
parent
ddc1a3ce11
commit
e3387a98a7
3 changed files with 266 additions and 111 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue