The previous patch broke compilation of alsa_write.c badly.
Fix is rather large but obvious.
static int alsa_write_post_select(__a_unused struct sched *s,
struct writer_node *wn)
{
- struct private_alsa__write_data *pad = wn->private_data;
+ struct private_alsa_write_data *pad = wn->private_data;
struct writer_node_group *wng = wn->wng;
size_t frames = (*wng->loaded - wn->written) / pad->bytes_per_frame;
snd_pcm_sframes_t ret;
have_alsa="no"
])
if test "$have_alsa" = "yes"; then
- audiod_errlist_objs="$audiod_errlist_objs alsa_writer"
+ audiod_errlist_objs="$audiod_errlist_objs alsa_write"
audiod_cmdline_objs="$audiod_cmdline_objs alsa_write.cmdline"
audiod_ldflags="$audiod_ldflags -lasound"
- write_errlist_objs="$write_errlist_objs alsa_writer"
+ write_errlist_objs="$write_errlist_objs alsa_write"
write_cmdline_objs="$write_cmdline_objs alsa_write.cmdline"
write_ldflags="$write_ldflags -lasound"
write_writers="$write_writers alsa"
SS_FD,
SS_WRITE,
SS_WRITE_COMMON,
- SS_ALSA_WRITER,
+ SS_ALSA_WRITE,
SS_FILE_WRITE,
SS_OSX_WRITE,
NUM_SS
PARA_ERROR(DELAY_TIMEOUT, "initial delay timeout"), \
-#define ALSA_WRITER_ERRORS \
+#define ALSA_WRITE_ERRORS \
PARA_ERROR(BROKEN_CONF, "Broken alsa configuration"), \
PARA_ERROR(ACCESS_TYPE, "alsa access type not available"), \
PARA_ERROR(SAMPLE_FORMAT, "sample format not available"), \
SS_ENUM(FD);
SS_ENUM(WRITE);
SS_ENUM(WRITE_COMMON);
-SS_ENUM(ALSA_WRITER);
+SS_ENUM(ALSA_WRITE);
SS_ENUM(FILE_WRITE);
SS_ENUM(OSX_WRITE);
SS_ENUM(RINGBUFFER);