05-03-2012
Did it manage to record any audio, or was it just waiting, not recording?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear experts,
I have a local computer and remote computer (only sftp accessed).
I want to delete files x and y in both local and remote computer using the following automated script:
sftp $remote > /dev/null < mdel.file
the file mdel.file has been pre-created, and its content is
cd... (2 Replies)
Discussion started by: boyin.huang
2 Replies
2. Programming
Hi,
I have a daq program that runs in an infinite loop until it receives SIGINT. A handler catches the signal and sets a flag to stop the while loop. After the loop some things have to be cleaned up.
The problem is that I want my main while loop to wait until the next full second begins, to... (2 Replies)
Discussion started by: soeckel
2 Replies
3. Red Hat
an update of RHEL 5.1 via yum was interrupted after installing the following packages.
Running Transaction
Updating : libgcc #####################
Updating : setup #####################
Updating : filesystem ... (4 Replies)
Discussion started by: egrotjahn
4 Replies
4. UNIX for Advanced & Expert Users
Hi All
I'm using arecord to record directly to a USB key:
arecord -f cd > /mnt/usb/myfile.wav
But I see buffer overruns at 30 second intervals, which correspond with short bursts of USB write activity.
I'm assuming this is related to:
/proc/sys/vm/dirty_expire_centiseconds
And the... (0 Replies)
Discussion started by: bucksbell
0 Replies
5. Shell Programming and Scripting
..........................................................................................................................
03:40 Geonetric File from CCL Complete 03:40:59 03:41:08 00:00:09 00:00:01 N/A
005 sys_runccl ... (7 Replies)
Discussion started by: Daniel Gate
7 Replies
6. Windows & DOS: Issues & Discussions
I was installing cygwin on my Windows 7 desktop. I guess I picked a bad mirror site because the download speed was very slow and it wasn't able to give me all the packages I wanted.
I closed the setup in too much haste. I think it was still downloading and not yet installing though. It said that... (1 Reply)
Discussion started by: ethoma7329
1 Replies
7. OS X (Apple)
Have had hidden/interrupted folder.
It is on a NTFS-partition I use for OS and Bootcamp.
I think that the problem is a HFS+ problem.
I happened with all the folder which had a slash "/" in their folder name.
So for example I had the folder "test/rand".
Recently it disappeared from finder. In... (9 Replies)
Discussion started by: sceltecs
9 Replies
8. UNIX for Dummies Questions & Answers
I had to stop a pigz (parallel gzip) compression before it completed. Is the original uncompressed file changed/corrupted?
I was under the impression that the original file is not changed during compression, though it is deleted if the compression is successful. (1 Reply)
Discussion started by: colin123
1 Replies
LEARN ABOUT LINUX
read_sound_input
read_sound_input(3alleg4) Allegro manual read_sound_input(3alleg4)
NAME
read_sound_input - Retrieves the last recorded audio buffer. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int read_sound_input(void *buffer);
DESCRIPTION
Retrieves the most recently recorded audio buffer into the specified location. The buffer size can be obtained by checking the return value
from start_sound_input(). You must be sure to call this function at regular intervals during the recording (typically around 100 times a
second), or some data will be lost. If you are unable to do this often enough from the mainline code, use the digi_recorder() callback to
store the waveform into a larger buffer of your own.
Note: many cards produce a click or popping sound when switching between record and playback modes, so it is often a good idea to discard
the first buffer after you start a recording. The waveform is always stored in unsigned format, with stereo data consisting of alternate
left/right samples.
RETURN VALUE
The function will return non-zero if a buffer has been copied or zero if no new data is yet available (you were too fast checking the
input).
SEE ALSO
start_sound_input(3alleg4)
Allegro version 4.4.2 read_sound_input(3alleg4)