05-28-2015
It might help folks if you describe your system in a little detail... OS, hardware, function, main applications, etc.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: :confused: :confused:
I have a voicemail system that runs on Unix, I am new to unix:rolleyes: . However the manual I have informs me that the unix clock loses three seconds every day, and I have to perform a sync at the end of the month. My questions are simple
1. Is this generic... (4 Replies)
Discussion started by: azdauk
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
The server seems to be losing time, not a lot, but enough to be noticed.
UNIX
AIX 4.3.3
Any ideas,
Kathy (9 Replies)
Discussion started by: kburrows
9 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to sell the use of gzip instead of compress in our department. One issue I'm having (which is a showstopper) is that I lose the ownership when gzipping and gunzipping, though it's mentioned all over the web that files are supposed to keep ownership.
Example:
-rwxrwxrwx 1 ms32345 ... (3 Replies)
Discussion started by: superdelic
3 Replies
4. Shell Programming and Scripting
I'm using a while read statement to read in lines from a file, if a value (for example) is 1000.10 in a field, the last zero is removed leaving 1000.1 does anyone know a way to keep the field as it is in the original file? (1 Reply)
Discussion started by: gefa
1 Replies
5. Solaris
So here's the scoop. I am working on a project to automate the building of spark based solaris servers. I've got a cursory amount of knowledge of how to use the os after some pretty heavy experience with Linux, and doing a similar project there.
I have a few questions though...
1) how is... (5 Replies)
Discussion started by: msarro
5 Replies
6. Shell Programming and Scripting
Hello experts,
Pleas
I have written a shell script to build a parfile but I keep losing the quotes from query1 and query variables after the redirection.. How do I fix this ?
PARFILE=${EXPDP_BASE}/expdp_${DAY}.par
USERID=$(${ORACLE_BASE}/getpass.ksh SYSTEM opnlkp2.uk.ml.com)... (2 Replies)
Discussion started by: kamathg
2 Replies
7. Emergency UNIX and Linux Support
Hey guys, facing a weird issue - hoping someone might be able to help.
The wireless network on my laptop is configured with a static IP address. (not using nm)
When i take the laptop out of the range (or i power the router down) the essid is becoming "off/any".
When i'm back in range the... (6 Replies)
Discussion started by: moshe88
6 Replies
8. HP-UX
system is HP-UX B.11.23 U ia64
A standard feature of almost all of our cron jobs is to redirect output to a log file, then at the end of the script to embed the contents of that log file in the body of an email sent to the IT staff. Typical code to do this is
$MAILER -s "$PROC: $SUBJECT"... (3 Replies)
Discussion started by: edstevens
3 Replies
9. Programming
I'm newbie in UNIX programming, I have a problem with signals. I'm writing multithread program, where threads can die at any moment. When thread dies it generates signal SIGUSR1 to main thread and then thread dies. Main thread gets a signal and waits for thread dead.
I wrote program like this:
... (5 Replies)
Discussion started by: DendyGamer
5 Replies
10. Forum Support Area for Unregistered Users & Account Problems
Hi.
Recently when I'm logged in to site after some seconds, for instance, I lose the connection and need sign in again. It happens on Firefox and Chrome.
Or another example, when I'm logged in to site and click on my nick name (right up corner) I lose the connection to site.
User: tiago
... (0 Replies)
Discussion started by: Unregistered
0 Replies
LEARN ABOUT DEBIAN
sdl::audiospec
pods::SDL::AudioSpec(3pm) User Contributed Perl Documentation pods::SDL::AudioSpec(3pm)
NAME
SDL::AudioSpec -- SDL Bindings for structure SDL::AudioSpec
CATEGORY
Core, Audio, Structure
SYNOPSIS
use SDL;
use SDL::AudioSpec;
SDL::init(SDL_INIT_AUDIO);
my $audio_spec = SDL::AudioSpec->new();
$audio_spec->freq(22050); # 22050Hz - FM Radio quality
$audio_spec->format(AUDIO_S16SYS); # 16-bit signed audio
$audio_spec->samples(8192); # Large audio buffer reduces risk of dropouts but increases response time
$audio_spec->channels(1); # Mono
$audio_spec->callback('main::callback');
sub callback
{
# do something here
}
DESCRIPTION
The "SDL::AudioSpec" structure is used to describe the format of some audio data. This structure is used by "SDL::Audio::open_audio" and
"SDL::Audio::load_wav". While all fields are used by "SDL::Audio::open_audio", only "freq", "format", "samples" and "channels" are used by
"SDL::Audio::load_wav". We will detail these common members here.
METHODS
freq
The number of samples sent to the sound device every second. Common values are 11025, 22050 and 44100. The higher the better.
format
Specifies the size and type of each sample element. Values it can take are:
AUDIO_U8
Unsigned 8-bit samples.
AUDIO_S8
Signed 8-bit samples.
AUDIO_U16 or AUDIO_U16LSB
not supported by all hardware (unsigned 16-bit little-endian)
AUDIO_S16 or AUDIO_S16LSB
not supported by all hardware (signed 16-bit little-endian)
AUDIO_U16MSB
not supported by all hardware (unsigned 16-bit big-endian)
AUDIO_S16MSB
not supported by all hardware (signed 16-bit big-endian)
AUDIO_U16SYS
Either AUDIO_U16LSB or AUDIO_U16MSB depending on hardware CPU endianness
AUDIO_S16SYS
Either AUDIO_S16LSB or AUDIO_S16MSB depending on hardware CPU endianness
channels
The number of separate sound channels. 1 is mono (single channel), 2 is stereo (dual channel).
samples
When used with "SDL::Audio::open_audio" this refers to the size of the audio buffer in samples. A sample is a chunk of audio data of the
size specified in format multiplied by the number of channels. When the "SDL::AudioSpec" is used with "SDL::Audio::load_wav" samples is set
to 4096.
callback
To be documented.
AUTHORS
See "AUTHORS" in SDL.
perl v5.14.2 2012-05-28 pods::SDL::AudioSpec(3pm)