linux man page for adjust_sample

Query: adjust_sample

OS: linux

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

adjust_sample(3alleg4)						  Allegro manual					    adjust_sample(3alleg4)

NAME
adjust_sample - Alters the parameters of a sample while it is playing. Allegro game programming library. SYNOPSIS
#include <allegro.h> void adjust_sample(const SAMPLE *spl, int vol, int pan, int freq, int loop); DESCRIPTION
Alters the parameters of a sample while it is playing (useful for manipulating looped sounds). You can alter the volume, pan, and fre- quency, and can also clear the loop flag, which will stop the sample when it next reaches the end of its loop. The values of the parameters are just like those of play_sample(). If there are several copies of the same sample playing, this will adjust the first one it comes across. If the sample is not playing it has no effect. SEE ALSO
play_sample(3alleg4), exsample(3alleg4) Allegro version 4.4.2 adjust_sample(3alleg4)
Related Man Pages
exsample(3alleg4) - debian
exsample(3alleg4) - centos
exsample(3alleg4) - mojave
play_sample(3alleg4) - php
exsample(3alleg4) - osx
Similar Topics in the Unix Linux Community
Featured Books and Articles by Active Forum Members
User Guide: Posting in the Emergency Forum
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Forum Video Tutorial: How to Use Code Tags
Merry Christmas!