File: gap_audio_util.h

package info (click to toggle)
gimp-gap 2.6.0%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 19,656 kB
  • ctags: 7,358
  • sloc: ansic: 119,801; sh: 3,890; makefile: 932; lisp: 97; pascal: 55
file content (32 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (6)
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
/* gap_audio_util.h
 *
 *  GAP common encoder audio utility procedures
 *
 */
/* 2002.01.05 hof  removed p_get_wavparams
 */

#ifndef GAP_AUDIO_UTIL_H
#define GAP_AUDIO_UTIL_H


/* GIMP includes */
#include "gtk/gtk.h"
#include "libgimp/gimp.h"


void     gap_audio_util_stereo_split16to16(unsigned char *l_left_ptr,
                  unsigned char *l_right_ptr, unsigned char *l_aud_ptr,
                  long l_data_len);

void     gap_audio_util_dbl_sample_8_to_16(unsigned char insample8,
                  unsigned char *lsb_out,
                  unsigned char *msb_out);

void     gap_audio_util_stereo_split8to16(unsigned char *l_left_ptr,
                  unsigned char *l_right_ptr,
                  unsigned char *l_aud_ptr,
                  long l_data_len);


#endif          /* end  GAP_AUDIO_UTIL_H */