annotate libmpcodecs/ae_toolame.h @ 14236:2dc4595c3998
fix stream selection and -bandwidth for mms-over-http.
Modifies header parsing to do a brute-force scan for known guids, to avoid
having to analyze and parse the whole property-tree structure.
author |
reimar |
date |
Sat, 25 Dec 2004 11:31:32 +0000 |
parents |
a87f1a948a24 |
children |
e84a6ae9d51e |
rev |
line source |
13425
|
1 #ifndef MPAE_TOOLAME_H
|
|
2 #define MPAE_TOOLAME_H
|
|
3
|
|
4 #include <toolame.h>
|
|
5
|
|
6 typedef struct {
|
|
7 toolame_options *toolame_ctx;
|
|
8 int channels, srate, bitrate;
|
|
9 int16_t left_pcm[1152], right_pcm[1152];
|
|
10 } mpae_toolame_ctx;
|
|
11
|
|
12 mpae_toolame_ctx *mpae_init_toolame(int channels, int srate);
|
|
13 int mpae_encode_toolame(mpae_toolame_ctx *ctx, uint8_t *dest, int nsamples, void *src, int max_size);
|
|
14
|
|
15 #endif
|