1 /*** 2 This file is part of PulseAudio. 3 4 Copyright 2006 Lennart Poettering 5 6 PulseAudio is free software; you can redistribute it and/or modify 7 it under the terms of the GNU Lesser General Public License as published 8 by the Free Software Foundation; either version 2.1 of the License, 9 or (at your option) any later version. 10 11 PulseAudio is distributed in the hope that it will be useful, but 12 WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 General Public License for more details. 15 16 You should have received a copy of the GNU Lesser General Public License 17 along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. 18 ***/ 19 20 #ifdef HAVE_CONFIG_H 21 #include <config.h> 22 #endif 23 24 #include <pulse/xmalloc.h> 25 26 #include <pulsecore/core.h> 27 #include <pulsecore/log.h> 28 #include <pulsecore/namereg.h> 29 #include <pulsecore/core-util.h> 30 31 PA_MODULE_AUTHOR("Lennart Poettering"); 32 PA_MODULE_DESCRIPTION("This module is obsolete, please remove it from your configuration."); 33 PA_MODULE_VERSION(PACKAGE_VERSION); 34 PA_MODULE_LOAD_ONCE(true); 35 36 pa__init(pa_module * m)37int pa__init(pa_module*m) { 38 39 pa_assert(m); 40 41 pa_log("module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration."); 42 43 pa_module_unload_request(m, false); 44 45 return 0; 46 } 47