diff options
author | Chris Robinson <[email protected]> | 2007-12-12 03:36:52 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-12 03:36:52 -0800 |
commit | fc0a7ea4244e3e1bd1a02b384e8a6145abb0e8c3 (patch) | |
tree | 797a8f06a31a741462e75f2fdaab9a2803201af7 /Alc | |
parent | 0f3e13ed7c54b21629ee6bbe749ceaab5e4bb6fb (diff) |
Print an error when OSS fails to open the audio device
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/oss.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -138,6 +138,7 @@ static ALCboolean oss_open_playback(ALCdevice *device, const ALCchar *deviceName if(data->fd == -1) { free(data); + AL_PRINT("Could not open %s: %s\n", driver, strerror(errno)); return ALC_FALSE; } |