2 * Copyright (C) 2011 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file flacdec_filter.c The flac decoder. */
16 #include "buffer_tree.h"
20 static int flacdec_execute(struct btr_node
*btrn
, const char *cmd
,
26 static void flacdec_post_select(__a_unused
struct sched
*s
, struct task
*t
)
31 static void flacdec_close(struct filter_node
*fn
)
36 static void flacdec_open(struct filter_node
*fn
)
41 * The init function of the flacdec filter.
43 * \param f Pointer to the filter struct to initialize.
47 void flacdec_filter_init(struct filter
*f
)
49 f
->open
= flacdec_open
;
50 f
->close
= flacdec_close
;
51 f
->pre_select
= generic_filter_pre_select
;
52 f
->post_select
= flacdec_post_select
;
53 f
->execute
= flacdec_execute
;