File: convert_util.h

package info (click to toggle)
rat 4.2.22-2.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,896 kB
  • ctags: 3,717
  • sloc: ansic: 36,542; tcl: 2,740; sh: 2,675; makefile: 295
file content (26 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (5)
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
/*
 * FILE:    convert_util.h
 * PROGRAM: RAT
 * AUTHOR:  O.Hodson <O.Hodson@cs.ucl.ac.uk>
 *
 * Copyright (c) 1998-2001 University College London
 * All rights reserved.
 *
 * $Id: convert_util.h,v 1.4 2001/01/08 20:30:00 ucaccsp Exp $
 */

#ifndef __CONVERT_UTIL__
#define __CONVERT_UTIL_

void converter_change_channels (sample *src, 
                                int src_len, 
                                int src_channels, 
                                sample *dst, 
                                int dst_len, 
                                int dst_channels);
int  gcd(int a, int b);
int  conversion_steps(int f1, int f2);
int  converter_format_valid(const converter_fmt_t *cfmt);

#endif  /* __CONVERT_UTIL__ */