VirtualBox

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


Ignore:
Timestamp:
Sep 27, 2007 1:56:20 PM (17 years ago)
Author:
vboxsync
Message:

...and added code to load libasound.so.2 dynamically instead

File:
1 edited

Legend:

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

    r5050 r5077  
    3333
    3434#include "Builtins.h"
    35 #include "vl_vbox.h"
     35#include "../../vl_vbox.h"
    3636#include "audio.h"
     37#ifdef VBOX
     38#include "alsa_stubs.h"
     39#endif
    3740#include <iprt/alloc.h>
    3841
     
    10351038{
    10361039#ifdef VBOX
     1040    int rc;
     1041
     1042    rc = audioLoadAlsaLib();
     1043    if (RT_FAILURE(rc)) {
     1044        LogRelFunc(("Failed to load the ALSA shared library!  Error %Rrc\n", rc));
     1045        return NULL;
     1046    }
    10371047    snd_lib_error_set_handler (alsa_error_handler);
    10381048#endif
     
    10891099};
    10901100
    1091 extern DECLEXPORT(struct audio_driver) alsa_audio_driver;
    10921101struct audio_driver alsa_audio_driver = {
    10931102    INIT_FIELD (name           = ) "alsa",
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