diff options
author | Chris Robinson <[email protected]> | 2007-12-12 03:41:37 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-12 03:41:37 -0800 |
commit | 7ade93e38c531c9d252a7ebf05065c7e3fc928ff (patch) | |
tree | 59e0a06c79d441392252b40dd148b3904743e155 /Alc | |
parent | fc0a7ea4244e3e1bd1a02b384e8a6145abb0e8c3 (diff) |
Print an error when ALSA fails to open the audio device
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -321,6 +321,7 @@ open_alsa: if(i < 0) { free(data); + AL_PRINT("Could not open playback device '%s': %s\n", driver, psnd_strerror(i)); return ALC_FALSE; } @@ -474,6 +475,7 @@ open_alsa: if(i < 0) { free(data); + AL_PRINT("Could not open capture device '%s': %s\n", driver, psnd_strerror(i)); return ALC_FALSE; } |