07-26-2011
You should always check NULL pointers, ie
Phonon::MediaObject *music
8 More Discussions You Might Find Interesting
1. Linux
Hi All,
I got this problem with my var logs, it got failed login as admin because it doesn't exist every 15 minutes and everyday.
Do you know some applications that try to create an application id as "admin"?
The problem is that this is a test server, so lots of applications installed and... (2 Replies)
Discussion started by: itik
2 Replies
2. Shell Programming and Scripting
I am submitting a concurrent program (of HOST tyme) from Oracle apps screen,
The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Discussion started by: Pradeep Garine
1 Replies
3. Shell Programming and Scripting
I'm testing a C++ based application (HLR) in my solaris system.
Whenever i start the application remotely from some other solaris server using ssh command the application throws an error and goes down.
command i used:
ssh root@192.168.151.77 "./start_hlr.sh"
Below is the error observed :
... (1 Reply)
Discussion started by: Arun_Linux
1 Replies
4. UNIX and Linux Applications
phonon-backend-gstreamer vs phonon-backend-vlc vs phonon-backend-xine
What are the advantages and disadvantages of phonon-backend-gstreamer, phonon-backend-vlc, and phonon-backend-xine. I was reading this and got curious.
... (1 Reply)
Discussion started by: cokedude
1 Replies
5. Red Hat
hi
every one
In linux, how to create a PATH for a application ?
i searched, but no positive response
any one like me got stuck with this problem? (3 Replies)
Discussion started by: rajeshz
3 Replies
6. IP Networking
All,
I have various web applications hosted in a client network. These web apps are accessed through a Apache web server.
We have deployed a new web application server and it is not serviced through the Apache web server. So i am unable to access this applications. But i am able to access... (3 Replies)
Discussion started by: vel4ever
3 Replies
7. Ubuntu
Hi Experts....
I am using Ubuntu 12.04 LTS 32-Bit edition on my laptop
I just reinstalled OS for some reason and installed many application packages using sudo as well as by downloading, now I would like to create recovery disk so that if I reinstall OS once again, I should be able to install... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies
8. Programming
Dear Team,
please help me on the issue "The application was unable to start correctly(0xc0150002).click ok to close the application"
Have created the build using installshield 2012. dll was generated from VS2008. Used 3rd party libraries.Included all the libraries,dll.
This was the first tme... (1 Reply)
Discussion started by: SA_Palani
1 Replies
LEARN ABOUT SUSE
sdl::mixer
SDL::Mixer(3) User Contributed Perl Documentation SDL::Mixer(3)
NAME
SDL::Mixer - a SDL perl extension
SYNOPSIS
$mixer = new SDL::Mixer -frequency => MIX_DEFAULT_FREQUENCY,
-format => MIX_DEFAULT_FORMAT,
-channels => MIX_DEFAULT_CHANNELS,
-size => 4096;
DESCRIPTION
SDL::Mixer allows you access to the SDL mixer library, enablig sound and music volume setting, playing, pausing and resuming, as well as
fading the sound and music in and out.
METHODS
new()
$mixer = SDL::Mixer->new( -frequency => MIX_DEFAULT_FREQUENCY,
-format => MIX_DEFAULT_FORMAT,
-channels => MIX_DEFAULT_CHANNELS,
-size => 4096);
Creates a new SDL::Mixer object. $size is the buffer size in bytes.
query_spec()
my $specs = SDL::Mixer::query_spec();
Returns a hash reference, containing the following keys and their respective values:
-status
-frequency
-channels
-format
reserve_channels
$mixer->reserve_channels(4);
Reserve so many channels.
allocate_channels()
$mixer->reserve_channels(2);
Allocate so many channels.
group_channel(channel,group)
Group the channel number $channel into group $group.
group_channels(from,to,group)
Groups a range of channels
group_available(group)
Return true when the group is available.
group_count(group)
Returns the number of channels in the group
group_oldest()
group_newer()
play_channel()
play_music()
Play $music $loop times.
fade_in_channel(channel,chunk,loops,ms,ticks)
Fades a channel in
fade_in_music(music,loops,ms)
Fades the music in over a number of ms, looping as it does
channel_volume(channel,volume)
Sets the volume for a single channel
mucis_volume(volume)
Set the volume for the music.
halt_channel(channel)
Stops a specific channel
halt_group(group)
Stops a group of channels
halt_music()
Stops the music
channel_expire(channel,ticks)
Ignores the channel after "ticks" has expired
fade_out_channel(channel,ms)
Fade the channel number $channel in $ms ms out.
fade_out_group(group,ms)
Fade the channel group $group in $ms ms out.
fade_out_music(ms)
Fade the music in $ms ms out.
fading_music()
Return true when the music is currently fading in or out.
fading_channel()
Return true when the channel number $channel is currently fading in or out.
pause( channel )
Pause the channel $channel.
resume(channel)
Resume the channel $channel.
paused()
Return true when the channel is currently paused.
pause_music()
Pause the music play.
resume_music()
Resume the music play.
rewind_music()
Resets the music file to the beginning
music_paused()
Return true when the music is currently paused.
playing()
Return true when the channel is currently playing.
playing_music ()
Return true when the music is currently playing.
AUTHORS
David J. Goehrig, basic doc added by Tels <http://bloodgate.com>.
SEE ALSO
perl, SDL::Music and SDL::Sound.
perl v5.12.1 2010-07-05 SDL::Mixer(3)