fix method scope in DeviceLibrary::ALSA