Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.139.122 Times

POE::Component::Player::Mpg123 1.2

  Date Added: April 02, 2010  |  Visits: 840

POE::Component::Player::Mpg123

Report Broken Link
Printer Friendly Version


Product Homepage
Download (82 downloads)

SYNOPSIS use POE qw(Component::Player::Mpg123); $mp = POE::Component::Player::Mpg123->new(); $mp->play("/tmp/test.mp3"); POE::Kernel->run(); This component is used to manipulate the mpg123 player from within a POE application. The less common but open-source mpg321 has also been tested. METHODS An object oriented interface is provided as follows: new [hash[-ref]] Used to initialise the system and create a module instance. The optional hash (or hash reference) may contain any of the following keys: alias Indicates the name of a session to which events will be posted. Default: main. dev Specifies device to play to. Default: /dev/dsp. xargs Allows for passing extra arguments to the underlying application. < event-name > Any event fired by this module can be mapped to a name of choice. This is useful for differentiating this components events from some other components e.g. done = "mpg123_done"> will cause the component to fire an mpg123_done event at the main session, instead of the usual done. For a comprehensive listing of events fired, please refer to the EVENTS section below. start This method starts the player. While it should not be necessary to ever call this method directly since the new() method calls it automatically, this method allows for restarting the player in such instances as when it dies. play < path > This method requires a single parameter specifying the full path name of an mp3 file to play. stop pause resume None of these methods take any parameters and will do exactly as thier name implies. Please note that pause/resume are semaphored i.e. issuing a pause whilst the system is already paused will do exactly diddley. vol < integer > This method requires a valid integer between 0 and 100 to indicate the volume level. Please note that volume support is not available on all versions of the mpg123 player. Consult your versions documentation to verify whether this will work. seek < to > This method fast-forwards or rewinds or jumps the metaphoric playhead to a specified location. The to argument passed should adhere to the regex [+-]d+[%]. If the number provided is preceeded by a + or a - then the number is treated as a relative offset where positive indicates forwards and negative backwards. If no sign is passed, the number is treated as an absolute offset. Additionally, if the number is followed by a percent sign, it is treated as a percentage and should be between 0 and 100, else it is treated as a frame number. Please note that passing out-of-bounds values will not generate an error but will be silently adjusted as necessary. stat This method has been kept from sungos original package... though I dont know what its supposed to do. In my version of mpg123 it generates an error @E Unknown command STAT. xcmd < string > This method allows for the sending of arbitrary commands to the player e.g. equalize such that as the underlying player offers new features, these can be utilised without having to modify the component. quit This method causes the mp3 player to shut down..

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Method Number Play Player Poe Programming Treated
Users rating: 0/10

License: Freeware Size: 7.17 KB
POE::COMPONENT::PLAYER::MPG123 RELATED
Video Editors  -  XMovie 1.9.13
XMovie was originally written as a simple, fast method to play uncompressed movies with stereo sound back when the only uncompressed movie player was xanim and the only MPEG player was MTV. XAnim didnt play stereo sound and MTV was a $15...
1.96 MB  
Entertainment  -  2048 UNDO 1.0
A typical 2048 game with limited undo number let player can obtain chance to back a few step,it give player more interesting to play more times.and player can share the achievement to friends in Facebook,twitter,mail and so on. 2048,,,,...
3.1 MB  
Games  -  Retro Breakout 1.0.0.0
Retro Breakout is a fun game from other time. it came to this era to amaze you! Have fun with this awesome game, and be the number one player of the world. Play for the win! You can give sugestions and see other games,...
3 MB  
Education  -  5 Dice: Order of Operations Game 2.1
--- Play a 21st Century Math Game --- How Good is Your Aim? Can You Hit the Target Number? Play Competitively or Cooperatively Using Multiple Devices! A math game intended for upper elementary and middle school students that helps students...
11.1 MB  
Entertainment  -  UltimateNumber 1.0.0.0
In Ultimate Number, every player take turns to guess a randomly chosen number from 0 to 100, and the aim of the is not to be the one to guess it! Every turn when a player makes a new guess, the range of remaining numbers decreases...
1024 KB  
Programming  -  cbear 1.0.0.172
The 'cbear' framework is a set of libraries and common utilities for different programming languages and platforms.
675.81 KB  
Games  -  2048 Multiplayer! 2.0
Join the numbers and get the 2048 tile. Swipe to move all the tiles, merge the tiles with the same number. Play online with your friends. Requirements: iOS 7.0 or later. Compatible with iPhone, iPad, and iPod touch. This app is...
5.9 MB  
Games  -  Guess4Me Free 1.1
Guess4Me is a word guessing puzzle game. This Free version can play online only. If you want to play offline, try with full version. Rule of Play : Player is given hint photos for each letter in word to guess the whole word. Each...
4.2 MB  
Entertainment  -  Country at Stake 1.0.0.0
Country at Stake is a war game between two country's as one country send's the green energy ball over to the other country. there is two type's of play player vs phone and player vs human where the other player can also compete. Requirements:...
3 MB  
Libraries  -  Games::Euchre::AI 1.02
Games::Euchre::AI is a Player API for Euchre card game. This class implements a skeletal Euchre player programming interface. Subclasses can be created quite easily as interactive interfaces or AI computer players. If you wish to write your own...
21.5 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB