Wed Mar 30 12:27:16 2011: Request 67090 was acted upon.
Transaction: Ticket created by spen...@spencerserolls.com
       Queue: Win32-Sound
     Subject: buffer problem
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: spen...@spencerserolls.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67090 >


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.
spen...@spencerserolls.com
http://www.spencerserolls.com
(707) 984-8356
(425) 791-0309


Reply via email to