3 ms·
Interesting: #ifdef COMPAQ_SOUND // IPaqs are slow to declare a buffer finished with. Need fewer, but longer buffers. // Longer buffers result in a time lag
by QIYGT 4y ago
Interesting:
#ifdef COMPAQ_SOUND
// IPaqs are slow to declare a buffer finished with. Need fewer, but longer buffers.
// Longer buffers result in a time lag between the code
// issuing a sample play command and it actually being
// played. This configuration seems to be the best.
// Short or longer buffers cause stutter.
#define SOUND_BUFFER_LENGTH (3072)
#define NUMBER_OF_QUEUED_BUFFERS 2
#else
// All other machines are much better about the sound code
// and have a response time half that of the IPaq.
#define SOUND_BUFFER_LENGTH (1024)
#define NUMBER_OF_QUEUED_BUFFERS 3
#endif
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]