-
Notifications
You must be signed in to change notification settings - Fork 0
/
audio_fmt.h
33 lines (29 loc) · 1.25 KB
/
audio_fmt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* FILE: audio_fmt.h
* PROGRAM: RAT
* AUTHOR: Orion Hodson
*
* Copyright (c) 1995-2001 University College London
* All rights reserved.
*
* $Id$
*/
#ifndef _AUDIO_FMT_H_
#define _AUDIO_FMT_H_
int audio_format_get_common (audio_format *fmt1,
audio_format *fmt2,
audio_format *common_fmt);
int audio_format_match (audio_format *fmt1,
audio_format *fmt2);
audio_format* audio_format_dup (const audio_format *src);
void audio_format_free (audio_format **bye);
int audio_format_buffer_convert (audio_format *src,
u_char *src_buf,
int src_bytes,
audio_format *dst,
u_char *dst_buf,
int dst_bytes);
int audio_format_change_encoding (audio_format *cur,
deve_e new_enc);
int audio_format_name(const audio_format *cur, char *buf, int buf_len);
#endif /* _AUDIO_FMT_H_ */