Hi David,
I had a look at s_nt.c and it seems that the default buffer size is
#define DEFBUFFER 30 /* default is about 30x6 = 180 msec! */
The minimum is 4 real(!)-dac-blocks (assuming 64 samples per block: 4 * (4 * 64) samples = 1024 samples =~ 23.2 ms ). The maximum is 100 blocks (580 ms). Note that the calculation from milliseconds -> blocks in s_nt.c assumes 44.1kHz sample rate.
Olaf
David Sabine schrieb:
Hello,
what is PD's default audio buffer size in Windows XP? This question has the following history:
My command line:
C:\pd\bin\pd.exe -verbose -listdev -resync -audiobuf 100 -soundoutdev 1 -outchannels 2 -soundindev 1 -inchannels 2 -nomidi Without -resync, dac~ or adc~ (i can't tell which) makes popping sounds and noise approximately 150 bpm.
With -resync AND -audiobuf 100, pd gets stuck in a 'resyncing audio' loop upon startup.
With -resync AND NOT -audiobuf, pd works like a charm...but I can't determine the latency of the input signal (i.e. I don't know the default size of the audio buffer).
Many Thanks. Dave