I forgot to cc my first reply to media_api, and I'm not sure you got it:

Generally, people combine existing libraries to read various formats 
like this. I don't know of a single sound file library that handles 
these formats. Portaudio is only for sound input/output through audio 
interfaces, so you will need to combine one or more sound file libraries 
(to read samples from files) with portaudio (to output the samples to 
the audio system). -Roger


Jhonny Boy wrote:
> Hello
> I am new to audio programming I am trying to creat a multiplatforme audio 
> player. I would like to be abble to read mp3 and ogg.
> I think portaudio would be the best library to use but I can't figure out how 
> to play mp3 and ogg.
> Does anyone can help me?
> Is there any general document I should read about audio progarmming (else 
> than portaudio) considering I am a newbie?
>
>
>       
>
> _______________________________________________
> media_api mailing list
> media_api@create.ucsb.edu
> http://lists.create.ucsb.edu/mailman/listinfo/media_api
>
>   

Jhonny Boy wrote:

> I 
> didn't find any information on ogg playing with portaudio on the wiki :
> http://www.portaudio.com/trac/wiki
> Is it still the official wiki?
>
> If it isn't possible I should use library such as libogg and libvorbis to 
> read those file through portaudio?
>   
Again, read samples with something like libogg, and play samples with 
portaudio.
> does a general library that could handle ogg and mp3 on window, linux, macos 
> exist?
>
>   
Again, probably not.


_______________________________________________
media_api mailing list
media_api@create.ucsb.edu
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to