From 5cc44292a2d47faa418651169f5a66cf99419e78 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 5 May 2009 22:14:34 +0000 Subject: - Remove default parameter from OPL::create - Add some note that no one should use the legacy API for new code svn-id: r40337 --- sound/fmopl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sound/fmopl.cpp') diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp index 7b5d4522ec..8d52b688cb 100644 --- a/sound/fmopl.cpp +++ b/sound/fmopl.cpp @@ -74,9 +74,8 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) { OPL->readBuffer(buffer, length); } -// Factory method FM_OPL *makeAdlibOPL(int rate) { - FM_OPL *opl = OPL::OPL::create(); + FM_OPL *opl = OPL::OPL::create(OPL::OPL::kOpl2); if (opl) { if (!opl->init(rate)) { -- cgit v1.2.3