Trouble with Audio using C++

This is a discussion on Trouble with Audio using C++ within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Bubba DirectShow does support MP3's but AFAIK it has been deprecated. Use at your own risk. The ...

  1. #16
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    Quote Originally Posted by Bubba View Post
    DirectShow does support MP3's but AFAIK it has been deprecated. Use at your own risk.
    The Media Foundation APIs are the Vista+ replacement.

  2. #17
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    The Media Foundation APIs are the Vista+ replacement.
    Very nice. But I am a bit more tentative about jumping onto the latest and greatest that MS comes up with. How do I know that 1 or 2 years later they won't deprecate it in favor of something else? They have a bad habit of doing just that and it seems to be getting worse.

  3. #18
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,768
    Quote Originally Posted by adeyblue View Post
    The Media Foundation APIs are the Vista+ replacement.
    I'm not sure it supports all the formats that DS does, though. But if it does, it's certainly better.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #19
    Registered User
    Join Date
    Feb 2010
    Posts
    67
    Oh sorry guys! I had completely forgotten about this post :P

    I found out how to link that very same day. Thanks for all the after-input though!

  5. #20
    Registered User
    Join Date
    Feb 2010
    Posts
    67
    Oh wait, something confuses me.
    There exist free media players out there - do they have to pay royalties for being able to play MP3 and use other codecs?

  6. #21
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    There exist free media players out there - do they have to pay royalties for being able to play MP3 and use other codecs?
    I'm not sure how it all works. If you look up information about MP3 they are very strict on their licensing and what they will allow. Of course just because they won't allow something does not mean that everyone obeys that. Attempting to go after everyone who illegaly supports the MP3 format would cost far too much money. If you google about the MP3 format I think you will find more information concerning licensing, etc. AFAIK the format is only available if you pay for the licensing and documentation.

  7. #22
    Registered User
    Join Date
    Jan 2010
    Posts
    412
    MP3 - Wikipedia, the free encyclopedia
    If I interpret this correctly then it seems that any software, free or not, that uses the mp3 format without licensing it is breaking the patent laws. But then there's also this
    Additionally, patent holders declined to enforce license fees on free and open source decoders, which allows many free MP3 decoders to develop.[43] Thus, while patent fees have been an issue for companies that attempt to use MP3, they have not meaningfully impacted users, which allows the format to grow in popularity.
    Although there's technically nothing that's stopping the patent holders from changing their minds and start sueing people left and right but I can't quite see that happening
    Wikipedia also claims that
    The various MP3-related patents expire on dates ranging from 2007 to 2017 in the U.S
    So in a few years this won't be an issue at all for anyone.

  8. #23
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,768
    Licensing decoding for MP3 would be like shooting themselves in the foot. The mp3 popularity would drop rapidly.
    But in a few years, mp3 will hardly be used at all!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #24
    Internet Superhero
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    964
    Another alternative is to use SDL, and SDL_mixer, which has support for a bunch of file types. It's also very simple to learn and use.
    How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Audio Programming
    By dwalters in forum Tech Board
    Replies: 0
    Last Post: 02-07-2008, 03:20 PM
  2. Audio Drivers
    By Tonto in forum Tech Board
    Replies: 8
    Last Post: 08-30-2006, 09:07 PM
  3. audio programming (from scratch)
    By simpleid in forum C Programming
    Replies: 6
    Last Post: 07-26-2006, 09:32 AM
  4. Bluetooth Audio Stream
    By Charmy in forum Windows Programming
    Replies: 2
    Last Post: 05-06-2006, 12:10 AM
  5. Port Audio
    By samGwilliam in forum Windows Programming
    Replies: 9
    Last Post: 12-07-2005, 10:43 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21