GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AL_INIT_ACODEC_ADDON (3)

NAME

al_init_acodec_addon - Allegro 5 API

CONTENTS

Synopsis
Description

SYNOPSIS

C]
#include <allegro5/allegro_acodec.h>

bool al_init_acodec_addon(void) ]

DESCRIPTION

This function registers all the known audio file type handlers for al_load_sample(3), al_save_sample(3), al_load_audio_stream(3), etc.

Depending on what libraries are available, the full set of recognised extensions is: .wav, .flac, .ogg, .it, .mod, .s3m, .xm.

I]Limitations:]
[bu] Saving is only supported for wav files.
[bu] Wav file loader currently only supports 8/16 bit little endian PCM files. 16 bits are used when saving wav files. Use flac files if more precision is required.
[bu] Module files (.it, .mod, .s3m, .xm) are often composed with streaming in mind, and sometimes cannot be easily rendered into a finite length sample. Therefore they cannot be loaded with al_load_sample(3)/al_load_sample_f(3) and must be streamed with al_load_audio_stream(3) or al_load_audio_stream_f(3).
Return true on success.

Search for    or go to Top of page |  Section 3 |  Main Index


Allegro reference manual AL_INIT_ACODEC_ADDON (3)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.