File: debug.h

package info (click to toggle)
audacity 3.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 106,704 kB
  • sloc: cpp: 277,038; ansic: 73,623; lisp: 7,761; python: 3,305; sh: 2,715; perl: 821; xml: 275; makefile: 119
file content (45 lines) | stat: -rw-r--r-- 1,127 bytes parent folder | download | duplicates (7)
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
#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;

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);
/* #define TRACESNDGC */

#define DEBUG_H
#endif