Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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.


Comment on Re: win32 sound problem
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://890513]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-12-28 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls