equal
deleted
inserted
replaced
85 errno = EPERM; |
85 errno = EPERM; |
86 err_ret("(%s) WARN - OpenAL already initialized", prog); |
86 err_ret("(%s) WARN - OpenAL already initialized", prog); |
87 return AL_FALSE; |
87 return AL_FALSE; |
88 } |
88 } |
89 |
89 |
90 if (usehardware = AL_TRUE) |
90 if (usehardware == AL_TRUE) |
91 device = alcOpenDevice(NULL); |
91 device = alcOpenDevice(NULL); |
92 else |
92 else |
93 device = alcOpenDevice("Generic Software"); |
93 device = alcOpenDevice("Generic Software"); |
94 |
94 |
95 if (device == NULL) { |
95 if (device == NULL) { |