The warnings you mentioned above about data packing are most likely coming from using an incorrect pack format for the data passed to pack. The 'c' format expects a signed 8 bit value (-128 to 127); since you are passing pack a value between 0 and 255 (an unsigned value) you need to use the 'C' format instead. See perlfunc for more details about pack formats.
Update: Link fixed.
In reply to Re: win32 sound problem
by kejohm
in thread win32 sound problem
by spencoid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |