Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: win32 sound problem

by kejohm (Hermit)
on Feb 28, 2011 at 06:10 UTC ( #890513=note: print w/replies, xml ) Need Help??

in reply to win32 sound problem

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://890513]
[ambrus]: Corion: which coordinate system is the upside down one?
[Corion]: ambrus: "the other" ;) To me, "normal" for GUIs means (0,0) is left-upper corner of the monitor/window. But for Prima, the lower-left corner it is ;)
[Corion]: Which would be OK for mathematics and paper, for me ;)
[ambrus]: Ok, so Prima has a postscript-like coordinate system

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-12-09 10:43 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (150 votes). Check out past polls.