VirtualBox

Changeset 47498 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 31, 2013 5:36:16 PM (12 years ago)
Author:
vboxsync
Message:

Audio/solaudio: Warnings.

File:
1 edited

Legend:

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

    r44528 r47498  
    140140     * otherwise else we fallback to default.
    141141     */
    142     const char *pszAudioDev = RTEnvDupEx(RTENV_DEFAULT, "AUDIODEV");
     142    char *pszAudioDev = RTEnvDupEx(RTENV_DEFAULT, "AUDIODEV");
    143143    if (!pszAudioDev)
    144144        pszAudioDev = RTStrDup("/dev/audio");
     
    408408    solaudioVoiceOut *pSol = (solaudioVoiceOut *) hw;
    409409    int          csLive, csDecr, csSamples, csToWrite, csAvail;
    410     size_t       cbAvail, cbToWrite, cbWritten;
     410    size_t       cbAvail, cbToWrite;
     411    ssize_t      cbWritten;
    411412    uint8_t     *pu8Dst;
    412413    st_sample_t *psSrc;
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