VirtualBox

Changeset 53395 in vbox for trunk


Ignore:
Timestamp:
Nov 25, 2014 11:28:51 AM (10 years ago)
Author:
vboxsync
Message:

Devices/Audio: DirectSound: another fix for audio device id (regression from latest changes).

File:
1 edited

Legend:

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

    r53394 r53395  
    108108    LPDIRECTSOUNDBUFFER dsound_primary_buffer;
    109109    audsettings_t settings;
     110    RTUUID devguid_capture;
    110111    LPCGUID devguidp_capture;
    111112} dsound;
     
    12991300
    13001301    if (conf.device_guid_in) {
    1301         int rc = RTUuidFromStr(&devguid, conf.device_guid_in);
     1302        int rc = RTUuidFromStr(&s->devguid_capture, conf.device_guid_in);
    13021303        if (RT_FAILURE(rc)) {
    13031304            LogRel(("DSound: Could not parse DirectSound input device GUID\n"));
    13041305        }
    1305         s->devguidp_capture = (LPCGUID)&devguid;
     1306        s->devguidp_capture = (LPCGUID)&s->devguid_capture;
    13061307    } else {
    13071308        s->devguidp_capture = NULL;
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