Skip Menu |

This queue is for tickets about the Win32-Sound CPAN distribution.

Report information
The Basics
Id: 67090
Status: new
Priority: 0/
Queue: Win32-Sound

People
Owner: Nobody in particular
Requestors: spencer [...] spencerserolls.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: buffer problem
Date: Wed, 30 Mar 2011 09:27:11 -0700
To: bug-Win32-Sound [...] rt.cpan.org
From: Spencer Chase <spencer [...] spencerserolls.com>
I believe this was reported before but I can not find the bug report now. using WaveOut to make,play and save wav files everything seems to work other than a volume problem (also reported and not fixed) and the fact that the buffer for the wav file is not correctly refressed upon making a new one. if a file is made and saved, subsequent files will retain anything from the longer file. also every file seems to have one random sample value appended at the end. following is a very basic snip of use taken from the sample script. data is just a bunch of left and right levels. nothing seems to have been fixed in this module in years. is anyone maintaining it or interested in doing so? $WAV = new Win32::Sound::WaveOut(44100, 8, 2); $data .= pack("CC", $vl, $vr); # create a bunch of values for left and right channels $WAV->Unload(); # drop it $WAV->Load($data); # get it $WAV->Write(); # hear it 1 until $WAV->Status(); # wait for completion $WAV->Save("$save_file"); # write to disk $WAV->Unload(); # drop it -- Best regards, Spencer Chase 67550-Bell Springs Rd. Garberville, CA 95542 Postal service only. Laytonville, CA 95454 UPS only. Spencer@spencerserolls.com http://www.spencerserolls.com (707) 984-8356 (425) 791-0309