473,396 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

play audio in c or c++

rampraveen
hey guys, pls give the codings for playing audio file in c.....
Apr 26 '10 #1
9 3250
hype261
207 100+
Playing audio is not a simple thing to do in C. Because C is environment independent your will need to look out an API for you operating system to be able to play audio.
Apr 26 '10 #2
please search in google, first thing you must know, which type of audio file you want to run, which device/player needs the audio files for play.lot of open source is available in goggle.
Apr 26 '10 #3
do you know any simple codings...i think according ur reply it's too tough...
Apr 26 '10 #4
i want play only ..mp3 files..
Apr 26 '10 #5
@sridhard2406
i want play only ..mp3 files..already i got some simple codings.but tat are working with os..we want do without using of windows os, tat program will work.....will you give any idea or any reference website.....
Apr 26 '10 #6
newb16
687 512MB
As you are reluctant to give any other details about environment, let's assume it's a x86 PC, without windows or any other os. Then you will have first to implement a functionality similar to a Windows audio driver to access the physical audio device.
Apr 26 '10 #7
@newb16
am using windows xp...x64(intel core2)
Apr 26 '10 #8
newb16
687 512MB
If you are "want do without using of windows os ", it does not matter which windows do you use, right?
Apr 26 '10 #9
@newb16
as i told am using xpsp2.....
Apr 26 '10 #10

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

Similar topics

21
by: Steve K | last post by:
Hi, I'm designing a website for the Cornell Undergraduate Business Program where the client wants faculty and student profiles to be interspersed throught the site. These profiles are...
6
by: Andrew Poulos | last post by:
As a follow on to the 'fun' I had with IE I'm now trying to play sounds using an Object tag (no Embed) in MZ. Sadly whenever 'playButton' gets clicked MZ says that "audObj.Play is not a function":...
4
by: jassan | last post by:
Does anybody know how to modify the following so that it does a random play from the .rpm file? <!-- --><embed SRC="http://your-url.rpm" type="audio/x-pn-realaudio-plugin" CONTROLS="Control"...
0
by: laredotornado | last post by:
Hello, I want to play an audio file by clicking on an audio icon and not having the page switch out underneath. Right now the code I have is ... <html> <head> <title>Dictionary:...
1
by: Ron Provost | last post by:
Hello, I'm developing a piece of software to assist illiteraate adults to learn to read. I'm trying to figure out how, if possible, to make audio playback asynchrnous but still controllable. ...
9
by: Morris Neuman | last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to play a wave file that is not located in the website folders but is in a plain folder on the same machine, windows 2003...
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
0
by: universe | last post by:
hi friends, I am developing a webapplication (using ASP.NET 2.0). In that I need to play audio file in the following scenario. Case 1: Only one file will be given as input to audio...
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
3
by: AWW | last post by:
Using XP and VB 2005, it seemed like a good idea to save audio in the clipboard and then play it with backgroundworker. Cannot find a good Clipboard audio example anywhere - just SetAudio and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.