sound in c

how can we play sound in c

Page 1 of 1

2 Replies - 2521 Views - Last Post: 06 February 2010 - 06:38 AM Rate Topic: -----

#1 krishna swaroop  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 06-February 10

sound in c

Posted 06 February 2010 - 03:06 AM

please help to play music in c language
Is This A Good Question/Topic? 0
  • +

Replies To: sound in c

#2 sarmanu  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 966
  • View blog
  • Posts: 2,362
  • Joined: 04-December 09

Re: sound in c

Posted 06 February 2010 - 03:26 AM

C/C++ does not have built-in support for playing music. You need a 3rd party library to do that. This might help you: http://www.inet.hr/~...wmp3/index.html
Libwmp3 is very easy to use, and also has a good documentation. Try it!
PS: This lib helps you play .mp3 files, but since you said music, I guess that this is what you want.

This post has been edited by sarmanu: 06 February 2010 - 03:27 AM

Was This Post Helpful? 0
  • +
  • -

#3 Guest_binil*


Reputation:

Re: sound in c

Posted 06 February 2010 - 06:38 AM

any one to know about the application of friend function
Was This Post Helpful? 0

Page 1 of 1