JNGL
Namespaces | Functions
sound.hpp File Reference

Sound related functions. More...

#include <memory>
#include <string>
Include dependency graph for sound.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jngl
 JNGL's main namespace.
 

Functions

float getVolume ()
 
void play (const std::string &filename)
 Play an OGG audio file once.
 
void stop (const std::string &filename)
 Stop an OGG audio file if it's currently playing.
 
bool isPlaying (const std::string &filename)
 
std::shared_ptr< SoundFile > loop (const std::string &filename)
 Play an OGG audio file in a loop. More...
 
bool isOpenALInstalled ()
 
void setPlaybackSpeed (float speed)
 
void setVolume (float volume)
 

Detailed Description

Sound related functions.

Definition in file sound.hpp.