How to buffer audio? (AV)

As AV docs say:

Playback may not start immediately after calling this function for reasons such as buffering

Sound is not starting immediately due to buffering. How to prebuffer audio to play it later immediately when needed?