[ Home ]

vorbisenc_inter.c File Reference

Simple Ogg Vorbis interface. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <vorbis/vorbisenc.h>
#include "../common/platform.h"
#include "../common/common_utils.h"

Include dependency graph for vorbisenc_inter.c:


Defines

#define READSIZE   1024

Functions

PRIVATE long read_samples (float **buffer, int samples)
PUBLIC int vorbis_encode (const char *filename, void *data, W32 size, W32 in_channels, W32 in_samplesize, W32 rate, W32 quality, W32 max_bitrate, W32 min_bitrate)

Variables

PRIVATE W32 channels
PRIVATE W32 samplesize
PRIVATE W8 * ptrCurrent
PRIVATE W8 * ptrEnd

Detailed Description

Simple Ogg Vorbis interface.

Author:
Michael Liebscher
Date:
2007-2009
Note:
Portions from oggenc, Copyright 2000-2002, Michael Smith Vorbize, (c) Kenneth Arnold and libvorbis examples, (c) Monty