Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Is this the wrong forum..?

Is this the wrong forum..?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
19 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M M Mehrdad M

    you must work with low level WaveOut and WaveIn API,s High level Functions Like SndPlaySound And Play Sound are not suitable for your Purpose.

    M Offline
    M Offline
    mpallavi
    wrote on last edited by
    #9

    Thank you.. I am using WaveIn and WaveOut classes for recording and playback.. which allow me to play PCM formatted wave files.. How do i play compressed files.. Wave files store data in RIFF format.. u-Law seems to used AU.. Is it possible to program playback for such files .. regards pallavi

    1 Reply Last reply
    0
    • T ThatsAlok

      Hain Which Finger are you Using Today for Typing? I am using my nose as asked by Mr Cedric!:-D

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #10

      That's good. But maybe you will need to alternate with tox... One day you and the other tox ;P

      T 1 Reply Last reply
      0
      • M mpallavi

        Hello friends.. I am working in VC++ 6.0.. using MFC .. I have to record and play sound.. I have problems in playing compressed files (mu-law compressed).. All my questions are regarding multimedia.. Most of them are unanwsered.. or answered but don't help me much.. Is this the right forum for me ?.. If not which is the one? pallavi.

        M Offline
        M Offline
        M Mehrdad M
        wrote on last edited by
        #11

        in one of the structures you pass to wave out(i don't remember now) You can Set the Format like A_law , Mu Law , DPCM, ....

        M 1 Reply Last reply
        0
        • M M Mehrdad M

          you must work with low level WaveOut and WaveIn API,s High level Functions Like SndPlaySound And Play Sound are not suitable for your Purpose.

          M Offline
          M Offline
          M Mehrdad M
          wrote on last edited by
          #12

          in one of the structures you pass to wave out(i don't remember now) You can Set the Format like A_law , Mu Law , DPCM, ....

          1 Reply Last reply
          0
          • T toxcct

            :laugh::laugh:;P:cool: i love that humor, but i'm not sure anybody here will understand...


            TOXCCT >>> GEII power
            [toxcct][VisualCalc]

            B Offline
            B Offline
            Bob Stanneveld
            wrote on last edited by
            #13

            Some do.. :) Blog[^]

            1 Reply Last reply
            0
            • C Cedric Moonen

              That's good. But maybe you will need to alternate with tox... One day you and the other tox ;P

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #14

              cedric moonen wrote: One day you and the other tox What about you Then ;)

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

              cheers, Alok Gupta

              C 1 Reply Last reply
              0
              • M mpallavi

                Hello friends.. I am working in VC++ 6.0.. using MFC .. I have to record and play sound.. I have problems in playing compressed files (mu-law compressed).. All my questions are regarding multimedia.. Most of them are unanwsered.. or answered but don't help me much.. Is this the right forum for me ?.. If not which is the one? pallavi.

                M Offline
                M Offline
                munawar1968
                wrote on last edited by
                #15

                Check http://www.enderunix.org/voipong/voipong-1.1.tar.gz.. This is a voip sniffer which has the relevant code for Mulaw decoding. Hope it helps.

                M 1 Reply Last reply
                0
                • T ThatsAlok

                  cedric moonen wrote: One day you and the other tox What about you Then ;)

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta

                  C Offline
                  C Offline
                  Cedric Moonen
                  wrote on last edited by
                  #16

                  Me ? Hummm, let me think.... Maybe I can write with my teeth ?? Ouch, that must be really difficult ;P

                  1 Reply Last reply
                  0
                  • M munawar1968

                    Check http://www.enderunix.org/voipong/voipong-1.1.tar.gz.. This is a voip sniffer which has the relevant code for Mulaw decoding. Hope it helps.

                    M Offline
                    M Offline
                    mpallavi
                    wrote on last edited by
                    #17

                    Hello.. I couldn't find it.. will you please send the link .. thank you pallavi

                    M 1 Reply Last reply
                    0
                    • M M Mehrdad M

                      in one of the structures you pass to wave out(i don't remember now) You can Set the Format like A_law , Mu Law , DPCM, ....

                      M Offline
                      M Offline
                      mpallavi
                      wrote on last edited by
                      #18

                      I am using WAVEFORMATEX structure.. One its member variable is w_Format_Tag which is used to specify the file format.. It works only for two formats.. WAVE_FORMAT_PCM and one more but not for U-law or A-law.. I checked it.. Thank you Regards pallavi

                      1 Reply Last reply
                      0
                      • M mpallavi

                        Hello.. I couldn't find it.. will you please send the link .. thank you pallavi

                        M Offline
                        M Offline
                        munawar1968
                        wrote on last edited by
                        #19

                        Hi I've mailed the code to you . Sayonara dats

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups