File: debug.h

package info (click to toggle)
audacity 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 44,240 kB
  • sloc: cpp: 182,841; ansic: 120,375; sh: 26,421; lisp: 7,495; makefile: 1,606; python: 240; xml: 104; perl: 31
file content (47 lines) | stat: -rw-r--r-- 1,186 bytes parent folder | download | duplicates (10)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef DEBUG_H

#ifdef PARTIAL_DECLARATIONS
typedef struct partial_susp_struct {
    snd_susp_node susp;
    boolean started;
    long terminate_cnt;
    long logical_stop_cnt;
    boolean logically_stopped;
    sound_type env;
    long env_cnt;
    sample_block_values_type env_ptr;

    /* support for interpolation of env */
    sample_type env_x1_sample;
    double env_pHaSe;
    double env_pHaSe_iNcR;

    /* support for ramp between samples of env */
    double output_per_env;
    long env_n;

    long phase;
    long ph_incr;
    double max_diff;
    double prev_output;
} partial_susp_node, *partial_susp_type;
#endif

extern sound_type watch_table_sound;
extern int table_ptr_check_enable;

void print_sound_type(sound_type s);
void print_sample_block_type(char *label, 
       sample_block_type sampblock, int len);
void watch_susp(snd_susp_type s);
void watch_sound(sound_type s);
void snd_list_debug(snd_list_type snd_list, char *s);
void watch_snd_list(snd_list_type s);
void dbg_mem_allocated(void *p, char *who);
void dbg_mem_freed(void *p, char *who);
void dbg_mem_print(char *msg, void *p);
void table_ptr_check();
/* #define TRACESNDGC */

#define DEBUG_H
#endif