generic-poky/meta/recipes-multimedia
Andreas Müller f5f3ccfd0a alsa-lib: allow building ARM thumb again
The directive mentioned in the comment was removed in:

commit 326c6802e49e5499e16cf141e1cdb0360fce14aa
Author: Riku Voipio <riku.voipio@linaro.org>
Date:   Fri Feb 7 15:38:58 2014 +0200

    alsa-lib: heavy pcm atomics cleanup

    The following patch comes from the realization that at least ARM code
    for atomics is quite broken and nobody has cared for a decade.

    A quick dive shows that only snd_atomic_{read,write}_{begin,end}
    appear to be used widely. These are implemented using wmb/rmb.

    Only other use of atomic functions is in pcm_meter.c.
    The #SND_PCM_TYPE_METER plugin type appears rarely, if ever, used.
    I presume these days anyone who wants a meter/scope will do in pulseaudio
    layer instead of alsa.

    It would seem better fit to have pcm_meter in alsa-plugins instead
    of alsa-lib, but I guess that would be an ABI break...

    So instead, I'm proposing here

    1. Removal of all hand-crafted atomics from iatomic.h apart from barriers,
       which are used in snd_atomic_{read,write}_{begin,end}.

    2. Using __sync_synchronize as the default fallback for barriers. This
       has been available since gcc 4.1, so it shouldn't be a problem.

    3. Defining the few atomics used by pcm_meter.c withing pcm_meter.c
       itself, using gcc atomic builtins[1].

    4. Since gcc atomic builtins are available only since gcc 4.7, add a check for
       that in gcc configure.in, and don't build pcm meter plugin if using
       older gcc.

    The last point has the impact, that if there actually is someone who 1)
    uses the meter plugin 2) wants to upgrade to 2014 alsa-lib 3) but
    does not want to use a 2012+ gcc - that someone will be inconvenienced.

    Finally remove the unneeded configure check for cpu type. We can
    trust the gcc to set right flags for us.

    [1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html

    Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>

(From OE-Core rev: dd442652afef1f83fc6c9651976cd3ba28c83c85)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-05 10:10:11 +01:00
..
alsa alsa-lib: allow building ARM thumb again 2016-10-05 10:10:11 +01:00
ffmpeg ffmpeg: update to 3.1.3 2016-09-03 09:58:39 +01:00
flac flac: upgrade to 1.3.1 2015-02-08 08:00:29 +00:00
gstreamer Revert "gst-player: Disable visualizations" 2016-10-05 10:10:11 +01:00
lame meta: update patch metadata 2016-07-08 09:57:24 +01:00
liba52 package_regex.inc: split sourceforge related entries to their own recipes 2015-12-08 10:20:52 +00:00
libid3tag libid3tag: use "foreign" automake strictness 2014-07-16 10:31:16 +01:00
libogg libogg: upgrade to 1.3.2 2014-06-01 14:29:31 +01:00
libomxil meta: Drop now pointless manual -dbg packaging 2015-12-16 11:56:30 +00:00
libpng libpng: update 1.6.23 -> 1.6.24 2016-08-17 10:35:42 +01:00
libsamplerate package_regex.inc: split the rest of the entries to their recipes 2015-12-08 10:20:52 +00:00
libsndfile libsndfile1: 1.0.26 -> 1.0.27 2016-07-26 08:56:27 +01:00
libtheora package_regex.inc: split the rest of the entries to their recipes 2015-12-08 10:20:52 +00:00
libtiff tiff: Update download URL 2016-09-14 22:22:07 +01:00
libvorbis libvorbis: remove legacy options 2015-09-03 12:43:20 +01:00
mpeg2dec package_regex.inc: split sourceforge related entries to their own recipes 2015-12-08 10:20:52 +00:00
mpg123 mpg123: update to 1.23.6 2016-09-03 09:58:38 +01:00
pulseaudio pulseaudio: add ${S}/LICENSE to LIC_FILES_CHKSUM 2016-09-16 15:24:03 +01:00
sbc sbc: upgrade to 1.3 2014-11-20 14:08:08 +00:00
speex speex: 1.2rc1 -> 1.2rc2 2015-07-16 15:09:15 +01:00
tremor upstream_tracking.inc: deprecate and move contents to recipes 2015-09-01 11:44:01 +01:00
webp libwebp: sepcify neon availability for arm 2016-09-09 11:53:36 +01:00
x264 x264: add textrel to INSANE_SKIP 2016-09-22 11:13:24 +01:00