* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/** @file clients/resample.c
+ * @brief Audio resampler
+ */
#include "common.h"
#include <unistd.h>
};
/* display usage message and terminate */
-static void help(void) {
+static void attribute((noreturn)) help(void) {
xprintf("Usage:\n"
" resample [OPTIONS] < INPUT > OUTPUT\n"
"Options:\n"
default: disorder_fatal(0, "unknown endianness '%s'", optarg);
}
break;
- default: fatal(0, "invalid option");
+ default: disorder_fatal(0, "invalid option");
}
}
struct resampler rs[1];