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
  1. Home
  2. Mobile Development
  3. Mobile
  4. wma, flac or aac to pcm(wav) conversion

wma, flac or aac to pcm(wav) conversion

Scheduled Pinned Locked Moved Mobile
csharptutorialquestion
3 Posts 2 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 Offline
    M Offline
    Member 3981366
    wrote on last edited by
    #1

    how to convert wma, flac or aac to pcm(wav) in C#.net mobile application?

    J 1 Reply Last reply
    0
    • M Member 3981366

      how to convert wma, flac or aac to pcm(wav) in C#.net mobile application?

      J Offline
      J Offline
      johnmoo
      wrote on last edited by
      #2

      I don't know much about the nuts and bolts at this point, but PCM is the format that all those formats must become when played back before they can be sent out of the digital to analog converter (DAC), because that is the native format of a DAC. So a class that plays back any of those formats must send PCM to the audio interface driver. If you can intercept that transfer, you have PCM. the problem with wma or aac is that DRM formats, when the content is protected, must be read by an executable that can decrypt it. These executables contain a secret encryption key, are furnished with an API by the DRM format's sponsor (Microsoft and Apple, respectively), and will only send output to hardware drivers that are preauthorized by the sponsor. This is the whole basis of DRM. If the content is in these formats and not DRM protected, you should be able to get around this, as many windows programs allow you to convert unprotected WMA and AAC to wav. Flac is open and doesn't have DRM issues. Maybe you knew all this, but if you didn't, hopefully it helps get you started.

      M 1 Reply Last reply
      0
      • J johnmoo

        I don't know much about the nuts and bolts at this point, but PCM is the format that all those formats must become when played back before they can be sent out of the digital to analog converter (DAC), because that is the native format of a DAC. So a class that plays back any of those formats must send PCM to the audio interface driver. If you can intercept that transfer, you have PCM. the problem with wma or aac is that DRM formats, when the content is protected, must be read by an executable that can decrypt it. These executables contain a secret encryption key, are furnished with an API by the DRM format's sponsor (Microsoft and Apple, respectively), and will only send output to hardware drivers that are preauthorized by the sponsor. This is the whole basis of DRM. If the content is in these formats and not DRM protected, you should be able to get around this, as many windows programs allow you to convert unprotected WMA and AAC to wav. Flac is open and doesn't have DRM issues. Maybe you knew all this, but if you didn't, hopefully it helps get you started.

        M Offline
        M Offline
        Member 3981366
        wrote on last edited by
        #3

        Thanks for sharing information about audio format..... But my actual interest is to know about implementation point of view of such decoding (flac,wma,aac,m4a to pcm(wav)) conversion in .net mobile application.

        modified on Saturday, October 11, 2008 5:34 AM

        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