Changeset 25942 in vbox for trunk/src/VBox/Devices/Audio/solaudio.c
- Timestamp:
- Jan 20, 2010 5:26:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/solaudio.c
r21602 r25942 144 144 * otherwise else we fallback to default. 145 145 */ 146 const char *pszAudioDev = RTEnvGet("AUDIODEV"); 147 if (pszAudioDev) 148 return RTStrDup(pszAudioDev); 149 150 return RTStrDup("/dev/audio"); 146 const char *pszAudioDev = RTEnvDupEx(RTENV_DEFAULT, "AUDIODEV"); 147 if (!pszAudioDev) 148 pszAudioDev = RTStrDup("/dev/audio"); 149 return pszAudioDev; 151 150 } 152 151
Note:
See TracChangeset
for help on using the changeset viewer.