File: tonegen.h

package info (click to toggle)
rat 4.2.20-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,888 kB
  • ctags: 3,655
  • sloc: ansic: 36,042; sh: 3,481; tcl: 2,740; makefile: 293
file content (24 lines) | stat: -rw-r--r-- 712 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
/*
 * FILE:    tonegen.h
 * PROGRAM: RAT
 * AUTHORS: Orion Hodson
 *
 * Copyright (c) 2000-2001 University College London
 * All rights reserved.
 *
 * $Id: tonegen.h,v 1.4 2001/01/08 20:30:10 ucaccsp Exp $
 */

typedef struct s_tonegen tonegen_t;

int  tonegen_create  (tonegen_t          **ppv, 
                      struct s_mixer     *mixer, 
                      struct s_pdb       *pdb, 
                      uint16_t            tonefreq,
                      uint16_t            toneamp);
int  tonegen_play    (tonegen_t           *ppv, 
                      timestamp_t                start, 
                      timestamp_t                end);
void tonegen_destroy (tonegen_t          **ppv);