Support for Audio-Recording?

I was curious if anyone on the lists had seen/heard of any cross-platforming audio-recording components? Is there any thought to include any kind of wrappers for this in SDL 1.3/SDL_mixer? Given that voice-chat has become a MAJOR component in games, I’m finding that there are a limited number of cross-platforming API’s to handle this…

Thanks in advance,
Taylor_________________________________________________________________
Windows Live? SkyDrive?: Store, access, and share your photos. See how.
http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009

I was curious if anyone on the lists had seen/heard of any
cross-platforming audio-recording components? Is there any thought to
include any kind of wrappers for this in SDL 1.3/SDL_mixer? Given that
voice-chat has become a MAJOR component in games, I’m finding that there
are a limited number of cross-platforming API’s to handle this…

I think what you seek is:

http://www.portaudio.com/

"PortAudio is a free, cross platform, open-source, audio I/O library.
It lets you write simple audio programs in ‘C’ that will compile and
run on many platforms including Windows, Macintosh (8,9,X), Unix
(OSS), SGI, and BeOS. PortAudio is intended to promote the exchange of
audio synthesis software between developers on different platforms.

“PortAudio provides a very simple API for recording and/or playing
sound using a simple callback function. Example programs are included
that synthesize sine waves and pink noise, perform fuzz distortion on
a guitar, list available audio devices, etc.”

Enjoy,On Tue, Jul 28, 2009 at 09:42:56AM -0500, Taylor Jeude wrote:


-bill!
Sent from my computer

I was curious if anyone on the lists had seen/heard of any
cross-platforming audio-recording components? Is there any thought to
include any kind of wrappers for this in SDL 1.3/SDL_mixer? Given that
voice-chat has become a MAJOR component in games, I’m finding that there
are a limited number of cross-platforming API’s to handle this…

We’re adding this for SDL 1.3.

For ioquake3’s VoIP support, I ended up using OpenAL’s ALC_EXT_capture
support, since the project already uses OpenAL for audio output (the SDL
target in ioq3 just simply doesn’t record at the moment).

–ryan.

What platforms will be officially supported, in terms of audio recording?

Thanks!On Tue, Jul 28, 2009 at 03:35:02PM -0400, Ryan C. Gordon wrote:

We’re adding this for SDL 1.3.


-bill!
Sent from my computer

What platforms will be officially supported, in terms of audio recording?

Presumably any that can record audio. :slight_smile:

My general attitude for SDL 1.3 is that new stuff should focus on Mac OS
X, Windows, and Linux at a minimum, and accept support for other
platforms when other people send patches. Things like the iPhone and the
Nintendo DS have microphones, but I don’t have the development
environments for them. When it comes to audio interfaces, just
supporting Linux can be a full time job.

Although, if my power API is any evidence, I’ll fill in BeOS and OS/2
implementations without even compiling them. :slight_smile:

–ryan.

Just let us know when, and I’ll try compiling on Haiku. Although
Haiku doesn’t have media encoding yet, I suppose it may fall back to
BeOS compatibility mode.
-scottmc

-scottmcOn Tue, Jul 28, 2009 at 12:55 PM, Ryan C. Gordon wrote:

What platforms will be officially supported, in terms of audio recording?

Presumably any that can record audio. ?:slight_smile:

My general attitude for SDL 1.3 is that new stuff should focus on Mac OS X,
Windows, and Linux at a minimum, and accept support for other platforms when
other people send patches. Things like the iPhone and the Nintendo DS have
microphones, but I don’t have the development environments for them. When it
comes to audio interfaces, just supporting Linux can be a full time job.

Although, if my power API is any evidence, I’ll fill in BeOS and OS/2
implementations without even compiling them. ? :slight_smile:

–ryan.


+1 recommend portaudio.On Tue, Jul 28, 2009 at 5:00 PM, Bill Kendrick wrote:

On Tue, Jul 28, 2009 at 09:42:56AM -0500, Taylor Jeude wrote:

I was curious if anyone on the lists had seen/heard of any
cross-platforming audio-recording components? Is there any thought to
include any kind of wrappers for this in SDL 1.3/SDL_mixer? Given
that
voice-chat has become a MAJOR component in games, I’m finding that
there
are a limited number of cross-platforming API’s to handle this…

I think what you seek is:

http://www.portaudio.com/

"PortAudio is a free, cross platform, open-source, audio I/O library.
It lets you write simple audio programs in ‘C’ that will compile and
run on many platforms including Windows, Macintosh (8,9,X), Unix
(OSS), SGI, and BeOS. PortAudio is intended to promote the exchange of
audio synthesis software between developers on different platforms.

“PortAudio provides a very simple API for recording and/or playing
sound using a simple callback function. Example programs are included
that synthesize sine waves and pink noise, perform fuzz distortion on
a guitar, list available audio devices, etc.”

Enjoy,


-bill!
Sent from my computer


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org