Sha256: d234050ac3ef935505a3cd4117ee59799c00346e240e6b1a504583ba7c46ff61
Contents?: true
Size: 830 Bytes
Versions: 4
Compression:
Stored size: 830 Bytes
Contents
#pragma once #include <Gosu/Audio.hpp> #include <Gosu/Platform.hpp> #ifdef GOSU_IS_IPHONE // Ignore OpenAL deprecation warnings. If iOS stops shipping OpenAL, it's more likely that we bundle our own version // of it than that we switch to another audio API. #define OPENAL_DEPRECATED #include <OpenAL/al.h> #include <OpenAL/alc.h> #else #include <AL/al.h> #include <AL/alc.h> #endif namespace Gosu { void al_initialize(); bool al_initialized(); // Will initialize OpenAL if necessary. ALCcontext* al_context(); const int NO_CHANNEL = -1; // Returns an expired Channel if no channel is free. // Will initialize OpenAL if necessary. Channel allocate_channel(); bool channel_expired(int channel, int token); ALuint al_source_for_channel(int channel); ALuint al_source_for_songs(); }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gosu-1.4.5 | src/AudioImpl.hpp |
gosu-1.4.5.pre1 | src/AudioImpl.hpp |
gosu-1.4.4 | src/AudioImpl.hpp |
gosu-1.4.3 | src/AudioImpl.hpp |