Merge branch_beta3 onto the mainline.
[platform/upstream/libvorbis.git] / include / vorbis / vorbisenc.h
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH    *
6  * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.        *
7  *                                                                  *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
9  * by Monty <monty@xiph.org> and the XIPHOPHORUS Company            *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14  function: vorbis encode-engine setup
15  last mod: $Id: vorbisenc.h,v 1.2 2000/11/06 00:06:56 xiphmont Exp $
16
17  ********************************************************************/
18
19 #ifndef _OV_ENC_H_
20 #define _OV_ENC_H_
21
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif /* __cplusplus */
26
27 #include "codec.h"
28
29 extern int vorbis_encode_init(vorbis_info *vi,
30                               long channels,
31                               long rate,
32                               
33                               long max_bitrate,
34                               long nominal_bitrate,
35                               long min_bitrate);
36
37 extern int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg);
38
39
40
41 #ifdef __cplusplus
42 }
43 #endif /* __cplusplus */
44
45 #endif
46
47