view src/filewriter/convert.h @ 3186:2e988f44b85d

alsa-ng: Don't crash on SND_PCM_FORMAT_UNKNOWN.
author William Pitcock <nenolod@atheme.org>
date Fri, 19 Jun 2009 08:23:51 -0500
parents 11ef2164d90b
children
line wrap: on
line source

#ifndef CONVERT_H
#define CONVERT_H

#include "filewriter.h"

gpointer convert_output;

gboolean convert_init(AFormat input_fmt, AFormat output_fmt, gint channels);

gint convert_process(gpointer ptr, gint length);

void convert_free(void);

#endif