LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 09-18-2011, 06:34 AM   #1
ksm
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Combining 2 binary (audio) data files together in C


Hi,
I would like to be able to combine two binary files together and then read the one binary file into a buffer array. The files are audio wav files and at the moment, I can currently play each wav file seperately (Both wav files are of the same audio format).I am also currently using fread to store the binary data to a buffer.

If anyone could provide a example code that shows to how to combine two binary files into a buffer/array would be greatly appreciated.

Thank you very much.


*Sorry I have reposted this question in Programming section

Last edited by ksm; 09-18-2011 at 06:39 AM.
 
Old 09-18-2011, 07:59 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by ksm View Post
*Sorry I have reposted this question in Programming section
In future, please don't do this. If you want your thread to be moved, use the "Report" button and ask the moderators to do that.
 
Old 09-18-2011, 01:39 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
As Nylex said. Closed.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble reading binary data files with Fortran 77 program on Linux box with gcc kab Programming 1 02-04-2010 12:13 PM
problem in mounting cdrom(audio files running but not reading data files) amit_usual Linux - Newbie 7 12-29-2007 06:52 AM
Create ISO files from audio, data and video cds Bateman Linux - General 4 06-19-2005 04:02 AM
Reading audio data files as an actual audio file? Erik_the_Red Linux - Software 1 06-01-2005 08:22 AM
Having fun with binary data files...and printer?! (Just a funny story :)) Bebo General 0 03-19-2004 08:11 AM


All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration