From f1f29302f5401c4782985cec4d47d069b99036ee Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 3 Apr 2015 00:18:58 -0400 Subject: AUDIO: Remove the legacy OPL API --- audio/fmopl.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'audio/fmopl.h') diff --git a/audio/fmopl.h b/audio/fmopl.h index 28dd456e21..b8dbdc1550 100644 --- a/audio/fmopl.h +++ b/audio/fmopl.h @@ -165,23 +165,4 @@ public: } // End of namespace OPL -// Legacy API -// !You should not write any new code using the legacy API! -typedef OPL::OPL FM_OPL; - -void OPLDestroy(FM_OPL *OPL); - -void OPLResetChip(FM_OPL *OPL); -void OPLWrite(FM_OPL *OPL, int a, int v); -unsigned char OPLRead(FM_OPL *OPL, int a); -void OPLWriteReg(FM_OPL *OPL, int r, int v); -void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length); - -/** - * Legacy factory to create an AdLib (OPL2) chip. - * - * !You should not write any new code using the legacy API! - */ -FM_OPL *makeAdLibOPL(int rate); - #endif -- cgit v1.2.3