Sha256: 71edcd5b16f9b022812e2b991993438d0ca1f605b0bd912da768314450aa9753
Contents?: true
Size: 824 Bytes
Versions: 4
Compression:
Stored size: 824 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.h> #include <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-2.0.0.pre8 | src/AudioImpl.hpp |
gosu-2.0.0.pre7 | src/AudioImpl.hpp |
gosu-2.0.0.pre6 | src/AudioImpl.hpp |
gosu-1.4.6 | src/AudioImpl.hpp |