mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
alsa: Use EPIPE instead of ESTRPIPE if the latter does not exist
NetBSD does not have ESTRPIPE. https://bugzilla.gnome.org/show_bug.cgi?id=740952
This commit is contained in:
parent
90eb93c2ef
commit
a4b94e6c69
2 changed files with 8 additions and 0 deletions
|
@ -52,6 +52,10 @@
|
|||
#include <gst/audio/gstaudioiec61937.h>
|
||||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
#ifndef ESTRPIPE
|
||||
#define ESTRPIPE EPIPE
|
||||
#endif
|
||||
|
||||
#define DEFAULT_DEVICE "default"
|
||||
#define DEFAULT_DEVICE_NAME ""
|
||||
#define DEFAULT_CARD_NAME ""
|
||||
|
|
|
@ -49,6 +49,10 @@
|
|||
|
||||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
#ifndef ESTRPIPE
|
||||
#define ESTRPIPE EPIPE
|
||||
#endif
|
||||
|
||||
#define DEFAULT_PROP_DEVICE "default"
|
||||
#define DEFAULT_PROP_DEVICE_NAME ""
|
||||
#define DEFAULT_PROP_CARD_NAME ""
|
||||
|
|
Loading…
Reference in a new issue