Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Never mind, the problem is solved. Actually, there was a mistake in the code and i was opening the file in Text mode rather than binary mode. Opening the file in binray mode works fine.
Hi,
I am stuck with a weird problem that i am not able to understand.
I am trying to make a utility in C language that extracts a part of an MP3 file and writes it to an output file.
What i am currently doing is that i open the input file using _open() in binary mode and read the file byte...
C++ to C conversion
You cannot directly convert it into C. You will have to do a little workaround.
Convert classes into structures. And accordingly modify functions.
Hi,
I am trying to read directly from a device which is connected through usb. I use system calls open() and then read(). This reads the data, but it is cached by the driver. How can i read the data uncached ?
OS: Unix/Linux
Thanx in advance
I don't think it is that easy to build a handmade mp3 player. For playing mp3, you need it's decoder which is a quite complex.
however, what you can do is that you can implement the mp3 decoding algorithm on DSP kit.
Anti Virus softwares are the solution. Pendrives don't have any in built mechanisms for that. But recently some drives come with pre-installed anti-virus or encryption softwares. May be they can be called in-built mechanism.
i agree, there are many places in this world where you can get arrested for no reason :)
when i mentioned laws of a country i meant the piracy laws in general. I know you can't be arrested for using a file sharing program.
Re: C help
I guess you will have to take input as string. Then parse the string and then use values as speed and line no.
For example: from 1W separate '1' and 'W'. Then see which line is it and what speed. You will also have to perform validity checks on it first.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.