Sha256: b3dfd04d10047633a9fad254a301e9dec5dbda9528ead74a5951f655eed97f69
Contents?: true
Size: 745 Bytes
Versions: 15
Compression:
Stored size: 745 Bytes
Contents
#pragma once #include <Gosu/Audio.hpp> #include <Gosu/Platform.hpp> #ifdef GOSU_IS_MAC #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(); void al_shutdown(); // Will initialize OpenAL if necessary. ALCdevice* al_device(); // 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
15 entries across 15 versions & 1 rubygems