Switch to unified view
a/sc2src/alsadirect.cpp | b/sc2src/alsadirect.cpp | ||
---|---|---|---|
... |
... |
||
323 | 323 | ||
324 | return true; |
324 | return true; |
325 | 325 | ||
326 | error: |
326 | error: |
327 | LOGERR("alsa_init: " << cmd << " error:" << snd_strerror(err) << endl); |
327 | LOGERR("alsa_init: " << cmd << " error:" << snd_strerror(err) << endl); |
328 | alsa_close(); |
328 | alsa_close_nolock();
|
329 | return false; |
329 | return false; |
330 | } |
330 | } |
331 | 331 | ||
332 | void alsa_close() |
332 | void alsa_close() |
333 | { |
333 | { |