audio.device questions
Post date
Sat, 05/03/2025 - 16:53
- Getting the master clock of Paula to convert sampling rate to period. Is
GfxBase->DisplayFlags & PAL
still the way on 3.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?
Post date
Sunday, May 25, 2025 - 18:44
What I have found out:
- Yes,
GfxBase->DisplayFlags & PAL
is still the way, however one can avoid openinggraphics.library
and checkSysBase->VBlankFrequency == 50
for PAL and 60 for NTSC. - No,
audio.device
does not limit period. It accepts any value. If it is too small for current display mode, sound is distorted. - For now I have decided to not detect maximum distortion free sampling rate. I expect it to be tricky and complex.
Post date
Monday, June 9, 2025 - 09:54
My 2 cents, back around 1998, it was said 27khz was the limits "as long as you had a native display" is going on. The limitation was about the bus use. If you had a graphic card, like the BVision back then, you could just shut AGA down, and then set the AHI driver to 33Khz. But you have to shut the display down, like, with a copperlist that ends the display at the top so no memory is read for display... personnaly If I have to stream audio I will not go above 22khz, which I find a really good quality, to not take to much chip bus.
Online Status
I don't know the limits for those modes but nothing audio-related has changed for OS3.2.