⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Understanding how to use QAudioOutput::periodSize()

  • Moderators

    Hi all,

    I'm trying to understand more of the theory behind Qt's audio classes. Trying to find info on QAudioOutput::periodSize() mainly turned up many links to the class ref (which offers minimal information on how the period size affects data processing).

    To start off, how does periodSize relate to how frequently I write data? If I write less than periodSize, but more frequently, what would happen?

    Does anyone have (or know of) example code which demonstrates periodSize being used in runtime?

    Thanks in advance!

Log in to reply