You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Adapt platforms to AudioServer refactoring
Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
This commit is contained in:
@@ -27,12 +27,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "audio_driver_opensl.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define MAX_NUMBER_INTERFACES 3
|
||||
#define MAX_NUMBER_OUTPUT_DEVICES 6
|
||||
|
||||
@@ -373,9 +370,9 @@ int AudioDriverOpenSL::get_mix_rate() const {
|
||||
return 44100;
|
||||
}
|
||||
|
||||
AudioDriver::OutputFormat AudioDriverOpenSL::get_output_format() const{
|
||||
AudioDriver::SpeakerMode AudioDriverOpenSL::get_speaker_mode() const{
|
||||
|
||||
return OUTPUT_STEREO;
|
||||
return SPEAKER_MODE_STEREO;
|
||||
}
|
||||
|
||||
void AudioDriverOpenSL::lock(){
|
||||
|
||||
Reference in New Issue
Block a user