You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
329 B
C++
20 lines
329 B
C++
// SPDX-License-Identifier: BSD-2-Clause
|
|
// author: Max Kellermann <max.kellermann@gmail.com>
|
|
|
|
#include "Error.hxx"
|
|
|
|
#include <stdarg.h>
|
|
#include <alsa/asoundlib.h>
|
|
|
|
namespace Alsa {
|
|
|
|
ErrorCategory error_category;
|
|
|
|
std::string
|
|
ErrorCategory::message(int condition) const
|
|
{
|
|
return snd_strerror(condition);
|
|
}
|
|
|
|
} // namespace Alsa
|