By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,367 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

Present Live audio data (an updating Floating point Array ) as a file

P: 2
Hi,

I want to present live audio data samples ( which I am recieving as an updating float array in C) as an audio file so that I can open this live audio data in VLC. Is there any way ? Or any other way so that I can open this audio in VLC ?

Regards,
Sep 16 '10 #1
Share this Question
Share on Google+
3 Replies


Expert 100+
P: 2,396
Floating-point formats can differ between processors and even between compilers for the same processor.

If you have any concern that the floating point formats might differ between the program that writes the data and the program that reads the data then you should fully define the file format. You can then write encoding functions in the writing program and decoding functions in the reading program.
Sep 16 '10 #2

P: 2
Thanks for your reply,

But my question is that how can I present such live data as a file. so that it can b opened in other players.

/M
Sep 16 '10 #3

Expert 100+
P: 2,396
What type of audio file do you wish to create?
Sep 16 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.