02-21-2013
I've been playing Call of Duty: Black Ops 2 a lot lately. Hooked to the multiplayer in the evenings after returning from work :-P
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have installed SDL int /opt
and i installed a game with pkgadd in /usr/local
and when i try to start the game i says:
ld.so.1: ./gamename: fatal: libSDL-1.1.so.0: open failed: No such file or directory
what should i do (1 Reply)
Discussion started by: CreamHarry
1 Replies
2. What is on Your Mind?
So what kind of games we all play? If any?
I like RTS, C&C fan here all the way :p (8 Replies)
Discussion started by: woofie
8 Replies
3. UNIX for Dummies Questions & Answers
Does anyone know of any unix-based games? (1 Reply)
Discussion started by: danceofillusion
1 Replies
4. What is on Your Mind?
You guys are really are a genius, you make computer processing more easy for us end users. You just don't make wonders but you also make good computer games too. Really there is a fast evolution on the era of the computer world. Thanks to you guys!
__________________
The Cute Angry Birds... (0 Replies)
Discussion started by: methusela123
0 Replies
5. Ubuntu
I have Ubunut installed on my desktop
AMD 6 Core 3.2 (will be getting the bulldozer AMD 8 Core when it releases)
16 GB of DDR3 1333 RAM
SSD
some HDD's
Nvidia 560 ti 1GB
My question is, how can I or can I even get a Win 7 VM to play games as well in a main install. Give it 10 GBs of RAM... (0 Replies)
Discussion started by: ochieman2000
0 Replies
6. What is on Your Mind?
Hi, guys. What is your favourite movie at the moment? Which movie are you watching? I am watching the Thor:) (17 Replies)
Discussion started by: Tinna
17 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi!
I'm new to the site, and today I clicked on "Banking", curious as to what that was about. Aside from being able to "buy" things with these points, it appears there are some games available, on which you can wager your points. While I could access the "high scores", I could not find the... (14 Replies)
Discussion started by: sudon't
14 Replies
8. What is on Your Mind?
So what is everyones all time favourite games console and why do you like it?
(Please - no comments on why they are better than others as that would be opinion based and cause arguments, positive comments only) (28 Replies)
Discussion started by: Tommyk
28 Replies
9. Post Here to Contact Site Administrators and Moderators
Plz help me to hack computer games that is paid ty (1 Reply)
Discussion started by: 09287501067
1 Replies
10. UNIX Desktop Questions & Answers
Most of the people think that they can not use Unix as desktop.
By this poll we gone tell them that we not just use Unix as desktop but also love different display managers like GNOME, KDE etc..... (35 Replies)
Discussion started by: ynilesh
35 Replies
LEARN ABOUT DEBIAN
get_audio_stream_buffer
get_audio_stream_buffer(3alleg4) Allegro manual get_audio_stream_buffer(3alleg4)
NAME
get_audio_stream_buffer - Tells you if you need to fill the audiostream or not. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void *get_audio_stream_buffer(AUDIOSTREAM *stream);
DESCRIPTION
You must call this function at regular intervals while an audio stream is playing, to provide the next buffer of sample data (the smaller
the stream buffer size, the more often it must be called). This function should not be called from a timer handler. Example:
void *mem_chunk;
...
while (TRUE) {
...
mem_chunk = get_audio_stream_buffer(buffer);
if (mem_chunk != NULL) {
/* Refill the stream buffer. */
}
}
RETURN VALUE
If it returns NULL, the stream is still playing the previous lot of data, so you don't need to do anything. If it returns a value, that is
the location of the next buffer to be played, and you should load the appropriate number of samples (however many you specified when creat-
ing the stream) to that address, for example using an fread() from a disk file. After filling the buffer with data, call
free_audio_stream_buffer() to indicate that the new data is now valid.
SEE ALSO
play_audio_stream(3alleg4), free_audio_stream_buffer(3alleg4), exstream(3alleg4)
Allegro version 4.4.2 get_audio_stream_buffer(3alleg4)