Jump to content

Minor New Change to PCM VERA Audio


Wavicle
 Share

Recommended Posts

Frank accepted my pull request that implements a feature request from @ZeroByte in which bit 6 of AUDIO_CTRL ($9F3B) will read as 1 if the PCM FIFO is empty. The idea behind this is that if software is waiting for the FIFO to drain to reconfigure the PCM state machine for playback at a different sample rate or sample size, that software can now poll this bit to minimize latency where previously it had to be guessed at.

  • Like 7
Link to comment
Share on other sites

Basically, it's the definitive answer to the question "has the previous sound finished playing?" or "am I getting a buffer underflow?" (depending on whether your routine is currently in "playing" state or not)

It was essentially a "free" feature that doesn't break anything by adding it, but allows more options if you want to use it, so why not, eh?

  • Like 4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

Please review our Terms of Use