Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Transfer Audio Input Stream with Socket

834115Apr 26 2011 — edited Apr 27 2011
Hi Everyone!
I have a program where i hide in a wav file a message.
I hide it by getting the bytes of the AudioInputStream of a wav file and adding at the end a message.
Now I want to send the new wav file ,with the message hidden in it, through a socket. Im able to send the byte array with the bytes of the wav file and the hidden message but when I save it as a wav file Im unable to retrieve the message (which Im able to do with the original file that I want to send).

Any thoughts why it doesnt work?

Thanks in Advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2011
Added on Apr 26 2011
11 comments
8,334 views