hi,
which Unix/C function can i use to retrieve all group names with a particular group id?
The following C code prints out the group id number of a particular group name:
------------------------------------------------------------------------
#include <stdio.h>
#include <grp.h>
int... (3 Replies)
Hi All
I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group.
1
1 12 26 289 3.2e-027 GCGTATGGCGGC
2 12 26 215 6.7e+006 TTCCACCTTTTG
3 9 26 175 ... (1 Reply)
I've this file and need to sort the data in each group
File would look like this ...
cat file1.txt
Reason : ABC
12345-0023
32123-5400
32442-5333
Reason : DEF
42523-3453
23345-3311
Reason : HIJ
454553-0001
I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (1 Reply)
Hi All,
I have a pipe seperated file. I need to add the values in second and third columns with group by on first column.
MYFILE_28012012_1115|47|173.90
MYFILE_28012012_1115|4|0.00
MYFILE_28012012_1115|6|22.20
MYFILE_28012012_1116|47|173.90
MYFILE_28012012_1116|4|0.00... (3 Replies)
I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions?
When I add this code, I get the ORA-00937 error.
trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used
This is the original and returns all rows.
select (select... (3 Replies)
As part of some report generation, I've written a script to fetch the values from DB. But, unluckily, for certain Time ranges(1-9.99,10-19.99 etc), I don't have data in DB.
In such cases, I would like to write zero (0) instead of empty. The desired output will be exported to csv file.
... (1 Reply)
Discussion started by: kumar_karpuram
1 Replies
LEARN ABOUT DEBIAN
sdl::mixer::groups
pods::SDL::Mixer::Groups(3pm) User Contributed Perl Documentation pods::SDL::Mixer::Groups(3pm)NAME
SDL::Mixer::Groups - Audio channel group functions
CATEGORY
Mixer
METHODS
reserve_channels
my $reserved = SDL::Mixer::Groups::reserve_channels( $num );
$num is the number of channels to reserve from default mixing. Zero removes all reservations.
Reserve $num channels from being used when playing samples when passing in "-1" as a channel number to playback functions. The channels
are reserved starting from channel 0 to "$num-1". Passing in zero will unreserve all channels. Normally SDL_mixer starts without any
channels reserved.
The following functions are affected by this setting:
o SDL::Mixer::Channels::play_channel
o SDL::Mixer::Channels::play_channel_timed
o SDL::Mixer::Channels::fade_in_channel
o SDL::Mixer::Channels::fade_in_channel_timed
Returns: The number of channels reserved. Never fails, but may return less channels than you ask for, depending on the number of channels
previously allocated (see SDL::Mixer::Channels::allocate_channels).
group_channel
my $grouped = SDL::Mixer::Groups::group_channel( $channel, $group );
Add a channel to group id (any positive integer), or reset it's group to the default group by passing (-1).
Returns: True(1) on success. False(0) is returned when the channel specified is invalid.
group_channels
my $grouped = SDL::Mixer::Groups::group_channels( $from_channel, $to_channel, $group );
Add a range of channels to group id (any positive integer), or reset their group to the default group by passing (-1).
Returns: The number of affected channels.
group_available
my $channel = SDL::Mixer::Groups::group_count( $group );
"group_newer" returns the first available channel of this group.
group_count
my $channels = SDL::Mixer::Groups::group_count( $group );
"group_newer" returns the number of channels in this group.
group_oldest
my $channel = SDL::Mixer::Groups::group_oldest( $group );
"group_newer" returns the channel number which started to play at first.
group_newer
my $channel = SDL::Mixer::Groups::group_newer( $group );
"group_newer" returns the channel number which started to play at last.
fade_out_group
SDL::Mixer::Groups::fade_out_group( $group, $ms );
Fades out the channels by the given group id. The fade-out-time is specified by $ms.
Returns the number of affected channels.
halt_group
SDL::Mixer::Groups::hals_group( $group );
Halts the channels by the given group id.
Returns 0.
AUTHORS
See "AUTHORS" in SDL.
perl v5.14.2 2012-05-28 pods::SDL::Mixer::Groups(3pm)