ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
sound.h File Reference

Sound module for the ASW library. More...

#include "./types.h"
Include dependency graph for sound.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  asw
 
namespace  asw::sound
 

Functions

void asw::sound::play (const asw::Sample &sample, int volume=255, unsigned char pan=128, int loop=0)
 Play a sample.
 
void asw::sound::playMusic (const asw::Music &sample, int volume=255)
 Play a music sample.
 
void asw::sound::stopMusic ()
 Stop the currently playing music.
 

Detailed Description

Sound module for the ASW library.

Author
Allan Legemaate (alege.nosp@m.maat.nosp@m.e@gma.nosp@m.il.c.nosp@m.om)
Date
2023-09-20

Definition in file sound.h.