[aquaria] Proposed patch for OpenAL device usage

Ryan C. Gordon icculus at icculus.org
Thu Aug 18 11:17:43 EDT 2011


> -ALBRIDGE(System,init,(int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata),(maxchannels,flags,extradriverdata))
> -FMOD_RESULT OpenALSystem::init(int maxchannels, const FMOD_INITFLAGS flags, const void *extradriverdata)
> +ALBRIDGE(System,init,(int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata, std::string defaultDevice),(maxchannels,flags,extradriverdata, defaultDevice))

Just as a warning: if you change the ALBRIDGE calls, the game won't 
build with FMOD anymore.

I don't know if that's something worth caring about, though.

(and if it isn't, someone should rip the ALBRIDGE stuff out entirely.)

--ryan.



More information about the aquaria mailing list