roho has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use warnings; use Win32::MediaPlayer; my $winmm = new Win32::MediaPlayer; $winmm->load('test1.mp3'); $winmm->play; $winmm->volume(100); while ($winmm->pos < $winmm->length) { # Loop until finished playing media file }
"Its not how hard you work, its how much you get done."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Media Player - CPU Usage
by SuicideJunkie (Vicar) on Nov 28, 2012 at 19:01 UTC | |
by roho (Bishop) on Nov 28, 2012 at 22:08 UTC | |
|
Re: Media Player - CPU Usage
by Lotus1 (Vicar) on Nov 28, 2012 at 22:03 UTC |