1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-12-09 16:00:35 +00:00

Roll back reset_audio. The audio problem was not fixed, and the change was incorrect.

This commit is contained in:
Johan Gill
2025-01-02 02:12:15 +01:00
parent 75187cac22
commit 3bc7226704

View File

@ -47,14 +47,6 @@ const struct Resident rb_tag =
(APTR)Init
};
static void reset_audio(void)
{
volatile struct Custom *custom = (struct Custom *) 0xDFF000;
// Disable DMA for all four audio channels to get a clean state
custom->dmacon = 0x8000 | (DMAF_AUD0 | DMAF_AUD1 | DMAF_AUD2 | DMAF_AUD3);
}
// ROMTAG INIT time
static void romtaginit(struct ExpansionBase *ExpansionBase)
{
@ -132,7 +124,6 @@ static AROS_UFH3 (APTR, Init,
if (res)
uaegfxhack(res, "uaelib_demux");
reset_audio();
romtaginit(eb);
CloseLibrary((struct Library*)eb);