hi, i have download a tool which takes Pronto hex code as input and then generates the wav file here is the tools pic in the second post in this link
[Link: hifi-remote.com]
and then i open that genertaed wav file by this tool in HEX EDITOR and also i open the wav file in the Hex editor which is using your code and i found that Headers and writting correct but the format chunk and data chunk is different.
and i my testing device is fine and it is working i have checked that , it's no problem. and the wave file created by the tool is working but the wav file which uses Irp masters jar file is not working and i am using the Pronto hex codes from this database
[Link: remotecentral.com]