Main Page   Modules   Compound List   File List   Compound Members   File Members  

xlv_audio.h

00001 /*
00002  * xlv_audio.h
00003  *
00004  * Copyright (C) 2001 Guilhem Lavaux
00005  *
00006  * This file is part of XLV, a free middleware audio-video stream coder/decoder.
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Library General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * XLV is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  */
00022 #ifndef _XLV_AUDIO_H
00023 #define _XLV_AUDIO_H
00024 
00025 #include "xlv_plugin_mgr.h"
00026 #include "xlv_handler.h"
00027 
00028 #define XLV_AUDIO_RATE_VALID  0x0001
00029 #define XLV_AUDIO_CHN_VALID   0x0002
00030 #define XLV_AUDIO_BPS_VALID   0x0004
00031 #define XLV_AUDIO_ENC_VALID   0x0008
00032 #define XLV_AUDIO_BRATE_VALID 0x0010
00033 #define XLV_AUDIO_EXTRA_VALID 0x0020
00034 #define XLV_AUDIO_ALIGN_VALID 0x0040
00035 
00036 typedef struct _XLV_PCMData {
00037     guint32 m_valid_entries;
00038     guint32 m_sample_rate;
00039     guint8 m_channels;
00040     guint8 m_bps;
00041     guint16 m_encoding;
00042     guint32 m_bytes_per_sec;
00043     guint16 m_align;
00044     guint8 m_dummy[16];
00045     guint16 m_extra_len;
00046     guint8 m_extra_data[1];
00047 } XLV_PCMData;
00048 
00049 #ifdef __cplusplus
00050 extern "C" {
00051 #endif
00052 
00053     void xlv_pcm_init_plugin (XLV_PluginMgr * mgr);
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058 #endif

Generated on Mon Jul 1 19:39:05 2002 for XLV by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002