5 More Discussions You Might Find Interesting
1. Programming
Hi All,
I was wondering if someone could clarify the best way to display mpeg video with SDL in MinGW.
After scouring the internet it seems there is not a lot of information regarding this subject (or at least not up to date) and libraries that are available for this purpose.
Any help/... (1 Reply)
Discussion started by: robfwauk
1 Replies
2. Programming
Solved thanks for info!! (8 Replies)
Discussion started by: aLHaNz
8 Replies
3. Programming
How do I play a sound file with SDL?
I've downloaded the library files but SDL/SDL_mixer.h (that most of the tutorials include) doesn't exist. So, how do I install it?
As I said mixer.h doesn't exist but, If it is helpful, the default code is this:
#include "stdlib.h"
#include "SDL/SDL.h"... (2 Replies)
Discussion started by: hakermania
2 Replies
4. UNIX for Dummies Questions & Answers
hi, i've just downloaded a test game to try compiling it with the gcc compiler in Solaris, the problem was that ./configure command return this error *** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker... (0 Replies)
Discussion started by: freeware
0 Replies
5. UNIX for Dummies Questions & Answers
I get a:
Requirements:
SDL
when I'm browsing (www.happypenguin.org) for games.
According to wikipedia SDL can be:
where some are more likely than others. However, which one is it? I got an error because of SDL last time I tried and want to make it right before I try... (0 Replies)
Discussion started by: riwa
0 Replies
LEARN ABOUT DEBIAN
sdl::audiocvt
pods::SDL::AudioCVT(3pm) User Contributed Perl Documentation pods::SDL::AudioCVT(3pm)
NAME
SDL::AudioCVT -- Audio Conversion Structure
CATEGORY
Core, Audio, Structure
SYNOPSIS
DESCRIPTION
The "SDL::AudioCVT" is used to convert audio data between different formats. A "SDL::AudioCVT" structure is created with the
"SDL::AudioCVT-"build> function, while the actual conversion is done by the "SDL::Audio::convert_audio" function.
METHODS
new
This constructor returns an empty "SDL::AudioCVT" structure.
build
$cvt = SDL::AudioCVT->build( $src_format, $src_channels, $src_rate
$dst_format, $dst_channels, $dst_rate );
Before an "SDL::AudioCVT" structure can be used to convert audio data it must be initialized with source and destination information.
"src_format" and "dst_format" are the source and destination format of the conversion. (For information on audio formats see
"SDL::AudioSpec"). "src_channels" and "dst_channels" are the number of channels in the source and destination formats. Finally, "src_rate"
and "dst_rate" are the frequency or samples-per-second of the source and destination formats. Once again, see "SDL::AudioSpec".
Currently (SDL-1.2.11) only rate conversions of 2x and (1/2)x with x > 0 are done, nearing the requested rate conversion.
See "SDL::Audio::convert_audio".
needed
Set to one if the conversion is possible
src_format
Audio format of the source
dest_format
Audio format of the destination
rate_incr
Rate conversion increment
len
Length of the original audio buffer in bytes
len_cvt
Length of converted audio buffer in bytes (calculated)
len_mult
"buf" must be "len*len_mult" bytes in size (calculated)
len_ratio
Final audio size is "len*len_ratio"
AUTHORS
See "AUTHORS" in SDL.
perl v5.14.2 2012-05-28 pods::SDL::AudioCVT(3pm)