Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Speex (or other voice-oriented codec) support  (Read 3459 times)

0 Members and 2 Guests are viewing this topic.

resistor

  • Newbie
  • *
  • Posts: 7
    • View Profile
Speex (or other voice-oriented codec) support
« on: September 15, 2009, 10:38:18 am »
Just saying, it would be nice to have support for a voice-oriented codec.  You can pack voice audio into a much smaller data file using voice-specific encoding as opposed to something more general like Vorbis.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Speex (or other voice-oriented codec) support
« Reply #1 on: September 15, 2009, 10:44:04 am »
Sounds like a good idea. I'll have a look at libspeex.
Laurent Gomila - SFML developer

resistor

  • Newbie
  • *
  • Posts: 7
    • View Profile
Speex (or other voice-oriented codec) support
« Reply #2 on: September 15, 2009, 02:51:06 pm »
In theory at least, the Ogg file-parsing code should be shareable with the Vorbis playback stuff, but I don't think the STB codec exposes it at that level.

You could conceivably use liboggz + libfishsound (both from Xiph) to make a generic anything-in-an-ogg-container decoder that would support Vorbis, Speex, and FLAC all in one.  See here for an example.