slloyd has asked for the wisdom of the Perl Monks concerning the following question:
$mci ||= new Win32::API("winmm", "mciSendStringA", 'PPNN', 'N') || ret +urn 0; #- Init $retstring my $retstring=" "x256; #- Open mp3 file $mci->Call("open \"$file\" alias mysound",$retstring,256,0); #- Play it $mci->Call("play mysound from 1",$retstring,256,0); # - how do I set the volume?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Set Volume with winmm and mciSendString
by fglock (Vicar) on Jun 27, 2004 at 05:20 UTC | |
|
use Win32::MCI::Basic;
by PodMaster (Abbot) on Jun 27, 2004 at 05:57 UTC | |
by slloyd (Hermit) on Jun 28, 2004 at 13:14 UTC | |
by PodMaster (Abbot) on Jun 29, 2004 at 05:01 UTC |