I am running the decoder_example file but instead of ouptutting the PCM to stdout I would like to output it to the soundcard so that I can hear the file playing. I am using Visual C++. Could someone please tell me the quickest way to do this. I am quite new to Visual C++ so don't assume that I know about the foundation classes. Thanks, Paul --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 03:19 PM 8/12/02 +0100, you wrote:>I am running the decoder_example file but instead of ouptutting the PCM to >stdout I would like to output it to the soundcard so that I can hear the >file >playing. I am using Visual C++. Could someone please tell me the quickest >way to do this. I am quite new to Visual C++ so don't assume that I know >about the foundation classes.Basic windows audio programming questions are a little off-topic here - we don't mind particularly, but you're relatively unlikely to get answers. Try reading the documentation in MSDN? Mike --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I suggest you check out the Simple DirectMedia Layer library (www.libsdl.org). I've used it on Linux for sound output, but it supports Win32 as well. There may be a more direct way to get sound output on Windows, but at least with libsdl I could offer you some off-list help :) Regards, Carsten Haese. ---- Original Message ---- From: Paul.Newton@sli-institute.ac.uk To: vorbis@xiph.org Subject: RE: [vorbis] Outputting Sound from decoder_example Date: Mon, 12 Aug 2002 15:19:48 +0100>I am running the decoder_example file but instead of ouptutting the >PCM to >stdout I would like to output it to the soundcard so that I can hear >the >file >playing. I am using Visual C++. Could someone please tell me the >quickest >way to do this. I am quite new to Visual C++ so don't assume that I >know >about the foundation classes. > >Thanks, >Paul >--- >8 ---- >List archives: http://www.xiph.org/archives/ >Ogg project homepage: http://www.xiph.org/ogg/ >To unsubscribe from this list, send a message to >'vorbis-request@xiph.org' >containing only the word 'unsubscribe' in the body. No subject is >needed. >Unsubscribe messages sent to the list will be ignored/filtered.<p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.