[FFmpeg-devel] [PATCH] OpenAL 1.1 Capture Support

Jonathan Baldwin jbaldwin9182 at gmail.com
Sun Jun 5 05:50:17 CEST 2011

I'm not sure if I'm doing it right, but I plan to make my first
contribution to any open source project right now.

Attached is a patch which adds an OpenAL 1.1 audio capture input
device to libavdevice. This means that audio capture in ffmpeg should
now be possible on any platform with a working OpenAL 1.1
implementation. Right now, there are three major OpenAL
OpenAL Soft
  Portable software implementation with multiple backends, currently
ALSA, OSS, PulseAudio, Solaris, DirectSound, PortAudio. LGPL.
  Creative Labs' official implementation for Windows with hardware
acceleration and software fallback. Proprietary.
  Implementation included with recent versions of Mac OS X.

So far, I've only tested it on Kubuntu Linux 11.04 using the OpenAL
Soft implementation, and it works great. But it should work on Windows
and Mac OS X too. I'll test it on Windows if I have to (I don't have a

What this code does NOT do is provide an output device for playing
audio. OpenAL is more or less overkill for this anyways, as it
provides a 3D audio environment.

Please tell me what I can do to improve the code, after all, I am only
a high school student with too much time on my hands ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_oal_patch.diff
Type: text/x-patch
Size: 12178 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110604/6ab3aa70/attachment.bin>

More information about the ffmpeg-devel mailing list