Граф коммитов

755 Коммитов

Автор SHA1 Сообщение Дата
Paul ADENOT 48e0ede42c Fix copy/paste error in src/cubeb_opensl.c 2013-06-05 16:01:50 +02:00
Paul ADENOT d64ea6260e Fix the standalone build when using pulse.
The pulseaudio backend now needs to link agains dl because it uses dlopen and
friends.
2013-05-31 11:56:20 +02:00
Paul ADENOT 9c5d094031 Mozilla bug 865244 - Add cubeb_stream_get_max_channels.
This function returns the maximum number of channel available on the current
hardware/platform.
2013-05-31 11:46:48 +02:00
Matthew Gregan 199535ce7b Remove unnecessary struct keywords. 2013-04-29 16:51:18 +12:00
Matthew Gregan d2576fdb49 Merge pull request #24 from padenot/master
Mozilla bug 809558 (followup)
2013-04-17 12:41:59 -07:00
Paul ADENOT d398f6bf92 Mozilla Bug 809558 (followup)
Pass in the channel when calling the ctor in the audiotrack backend. For some
reason this chunk was missing in 3ac8db8.
2013-04-17 13:51:15 +02:00
Matthew Gregan 951a3c6a88 Merge pull request #23 from padenot/unlock-getclock-pulse
Mozilla Bug 861936 - Allow calling cubeb_stream_get_position while in th...
2013-04-16 15:24:20 -07:00
Paul ADENOT 0ee99961c0 Mozilla Bug 861936 - Allow calling cubeb_stream_get_position while in the callback when using the pulseaudio backend. 2013-04-16 15:06:04 +02:00
Matthew Gregan 3ac8db88d9 Merge pull request #22 from wesj/master
Mozilla bug 809558 - Add stream type support
2013-04-15 17:24:12 -07:00
wesj 6263219875 Add stream type support 2013-04-15 17:17:16 -07:00
Matthew Gregan a2f8aca290 Merge pull request #21 from padenot/master
Mozilla Bug 859805 - Make libcubeb work on Android (2.3)
2013-04-11 04:03:03 -07:00
Paul ADENOT 08c2428434 Mozilla Bug 859805 - Make libcubeb work on Android (2.3)
Add the correct mangled symbol for getMinFrameCount, and use the old (Froyo)
channel layout enum when running on Gingerbread (2.3).
2013-04-11 11:28:35 +02:00
Matthew Gregan bfaee9a6c7 Merge pull request #19 from michaelwu/fixes
opensl: buffer handling fixes.
2013-03-21 14:28:47 -07:00
Michael Wu 3f12a704e0 Mozilla bug 853077 - Don't queue empty buffers in the opensles cubeb backend, r=kinetik 2013-03-21 15:11:33 -04:00
Michael Wu 5e2c07a7a0 Mozilla bug 852966 - Free audio buffers when freeing stream in opensl cubeb backend, r=kinetik 2013-03-21 15:08:43 -04:00
Matthew Gregan 49892c1637 opensl: fix warning caused by type of bufferqueue_callback. 2013-03-20 17:27:54 +13:00
Matthew Gregan c9c9757198 opensl: bring back OpenSLES_Android.h, we need it. 2013-03-15 13:52:57 +13:00
Matthew Gregan a5425f90ac rename sles_definitions.h (build fix). 2013-03-15 13:23:22 +13:00
Matthew Gregan f63060a67f rename sles_definitions.h. 2013-03-15 12:38:08 +13:00
Matthew Gregan cb6a1d9c34 Merge pull request #18 from landryb/master
sndio: Fix compile error after switchable-backends work.
2013-03-14 14:11:40 -07:00
Landry Breuil 72c2b0e2f3 Fix cubeb/sndio (#851149) 2013-03-14 22:04:06 +01:00
Matthew Gregan 0c7d975230 Merge pull request #17 from padenot/android-headers
Mozilla Bug 850770: Import a modified version of an Android header
2013-03-14 12:35:13 -07:00
Paul ADENOT 1be166f9a5 Import a modified version of an Android header
The SLES/OpenSLES_AndroidConfiguration.h header in the Android NDK has a bug
where the whole file is wrapped in |#ifdef __cplusplus| macro, so we can't get
Android specific OpenSLES values. This patch imports the header, with those
macros removed.

Additionaly, this patch moves the Android-specific headers in an src/android/
directory.
2013-03-14 16:46:06 +01:00
Matthew Gregan 3b6aa33d30 Merge pull request #16 from padenot/master
Add audiotrack backend in cubeb.c
2013-03-12 12:35:09 -07:00
Paul ADENOT 4f5bbaffe4 Add audiotrack backend in cubeb.c 2013-03-12 15:42:40 +01:00
Matthew Gregan 087c8ba9c8 opensl,directsound: initialize context ops. 2013-03-12 16:33:07 +13:00
Matthew Gregan ba9c1a5729 audiotrack: cubeb_ops must be first member of struct cubeb. 2013-03-12 11:47:02 +13:00
Matthew Gregan b6ebebae38 Merge pull request #15 from padenot/audiotrack
audiotrack: New backend for Android (from https://bugzilla.mozilla.org/show_bug.cgi?id=839415)
2013-03-11 15:45:31 -07:00
Paul ADENOT 77784a9d7e Mozilla bug 698328 - AudioTrack.cpp backend for Android.
This uses android/log.h to check that we are on Android in configure.ac, and is
rebased on top of the backend switching changes.
2013-03-11 15:25:22 +01:00
Matthew Gregan 625c02f363 syntax-only cleanups. 2013-03-11 16:12:39 +13:00
Matthew Gregan 327077a43a s/ifdef/if defined/g a few more places. 2013-03-11 16:06:26 +13:00
Matthew Gregan f2d524c34b s/ifdef/if defined/g 2013-03-11 16:04:13 +13:00
Matthew Gregan 0c239b0dac Merge pull request #14 from marcofreda527/master
opensl: Add support for specifying a stream type via SLAndroidConfigurationItf (from https://bugzilla.mozilla.org/show_bug.cgi?id=839415)

Note that this is an Android-specific extension for now.
2013-03-10 20:01:15 -07:00
Marco Chen deba82a215 Add the support of SLAndroidConfigurationItf to config stream type. 2013-03-11 10:40:05 +08:00
Matthew Gregan b56cf57ceb Merge branch 'switchable-backends' 2013-03-11 11:18:31 +13:00
Matthew Gregan 4ef829917e reorder initialization of audioqueue and directsound. 2013-03-11 11:16:30 +13:00
Matthew Gregan 8aa3d5f674 remove generic stream_params validation from backend stream_init since it was moved to the shared code. 2013-03-08 17:47:04 +13:00
Matthew Gregan 5b21c035e3 directsound,winmm: remove C99 struct initializer syntax. 2013-03-08 17:41:36 +13:00
Matthew Gregan b02ddb3efd Merge pull request #13 from jussi-kalliokoski/patch-1
Don't use obsolete AM_CONFIG_HEADER, fixes #12
2013-02-27 13:55:13 -08:00
Jussi Kalliokoski 08093136b2 Don't use obsolete AM_CONFIG_HEADER, fixes #12 2013-02-27 13:38:03 -05:00
Matthew Gregan 7d73e142e8 make config.h conditional. 2013-02-27 16:17:56 +13:00
Matthew Gregan cfec68177b pulse: dlclose libpulse when destroying context. 2013-02-27 16:15:24 +13:00
Matthew Gregan 6f5c22dbdf sndio: build fix. 2013-02-27 16:13:31 +13:00
Matthew Gregan 63e9608595 missed renames. call internal destroy rather than going through vtable. 2013-02-27 16:12:31 +13:00
Matthew Gregan 1829b2b0fd remove pulse DSO from buildtime link flags. 2013-02-27 15:51:44 +13:00
Matthew Gregan 927c95a7fd pulse: load pulse DSO and symbols at runtime. 2013-02-27 15:51:20 +13:00
Matthew Gregan d70602be7e remove pedantic from CFLAGS. 2013-02-27 15:50:47 +13:00
Matthew Gregan e2ed527f97 clean up backend initialization logic. 2013-02-27 15:50:10 +13:00
Matthew Gregan 7fbc1f69a6 winmm: build fixes.
directsound: (re)disable build until it can be fixed.
2013-02-21 14:44:16 +13:00
Matthew Gregan 2ab9cc1bd4 Merge pull request #11 from marcofreda527/master
opensl: destroy SLObject before calling dlclose().
2013-02-20 02:15:27 -08:00