play audio in c or c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rampraveen
    New Member
    • Apr 2010
    • 37

    play audio in c or c++

    hey guys, pls give the codings for playing audio file in c.....
  • hype261
    New Member
    • Apr 2010
    • 207

    #2
    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.

    Comment

    • sridhard2406
      New Member
      • Dec 2007
      • 52

      #3
      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.

      Comment

      • rampraveen
        New Member
        • Apr 2010
        • 37

        #4
        do you know any simple codings...i think according ur reply it's too tough...

        Comment

        • rampraveen
          New Member
          • Apr 2010
          • 37

          #5
          i want play only ..mp3 files..

          Comment

          • rampraveen
            New Member
            • Apr 2010
            • 37

            #6
            Originally posted by sridhard2406
            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.
            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.....

            Comment

            • newb16
              Contributor
              • Jul 2008
              • 687

              #7
              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.

              Comment

              • rampraveen
                New Member
                • Apr 2010
                • 37

                #8
                Originally posted by newb16
                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.
                am using windows xp...x64(intel core2)

                Comment

                • newb16
                  Contributor
                  • Jul 2008
                  • 687

                  #9
                  If you are "want do without using of windows os ", it does not matter which windows do you use, right?

                  Comment

                  • rampraveen
                    New Member
                    • Apr 2010
                    • 37

                    #10
                    Originally posted by newb16
                    If you are "want do without using of windows os ", it does not matter which windows do you use, right?
                    as i told am using xpsp2.....

                    Comment

                    Working...