add buffer size and real-time priority settings