VirtualBox

Changeset 45136 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Mar 22, 2013 10:22:57 AM (12 years ago)
Author:
vboxsync
Message:

Devices/Audio: mangle symbols of libasound and libpulse, otherwise they can be resolved by dynamic libraries if -fvisibility is not supported

Location:
trunk/src/VBox/Devices/Audio
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/alsa_stubs.c

    r34451 r45136  
    3131    static rettype (*pfn_ ## function) signature; \
    3232    \
    33     rettype function signature \
     33    rettype VBox_##function signature; \
     34    rettype VBox_##function signature \
    3435    { \
    3536        return pfn_ ## function shortsig; \
  • trunk/src/VBox/Devices/Audio/alsaaudio.c

    r40844 r45136  
    3030#endif
    3131
     32#ifdef VBOX
     33# include "alsa_stubs.h"
     34# include "alsa_mangling.h"
     35#endif
     36
    3237#include <alsa/asoundlib.h>
    3338
     
    3540#include "vl_vbox.h"
    3641#include "audio.h"
    37 #ifdef VBOX
    38 #include "alsa_stubs.h"
    39 #endif
    4042#include <iprt/alloc.h>
    4143
  • trunk/src/VBox/Devices/Audio/pulse_stubs.c

    r28800 r45136  
    3131    static rettype (*g_pfn_ ## function) signature; \
    3232    \
    33     rettype function signature \
     33    rettype VBox_##function signature; \
     34    rettype VBox_##function signature \
    3435    { \
    3536        return g_pfn_ ## function shortsig; \
     
    3940    static void (*g_pfn_ ## function) signature; \
    4041    \
    41     void function signature \
     42    void VBox_##function signature; \
     43    void VBox_##function signature \
    4244    { \
    4345        g_pfn_ ## function shortsig; \
  • trunk/src/VBox/Devices/Audio/pulseaudio.c

    r44528 r45136  
    2424#include <iprt/mem.h>
    2525
     26#include "pulse_mangling.h"
     27#include "pulse_stubs.h"
    2628#include <pulse/pulseaudio.h>
    27 #include "pulse_stubs.h"
    2829
    2930#include "vl_vbox.h"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette