audio.device questions

Online Status

  1. Getting the master clock of Paula to convert sampling rate to period. Is GfxBase->DisplayFlags & PAL still the way on 3.2?
  2. Going above 27 kHz, is this possible with audio.device, ot will it limit me? How to obtain information how far can I go, considering display modes like HighGfx, HD720, Xtreme?

Online Status

I don't know the limits for those modes but nothing audio-related has changed for OS3.2.

Online Status

What I have found out:

  1. Yes, GfxBase->DisplayFlags & PAL is still the way, however one can avoid opening graphics.library and check SysBase->VBlankFrequency == 50 for PAL and 60 for NTSC.
  2. No, audio.device does not limit period. It accepts any value. If it is too small for current display mode, sound is distorted.
  3. For now I have decided to not detect maximum distortion free sampling rate. I expect it to be tricky and complex.