summaryrefslogtreecommitdiffstats
path: root/src/app/xineScope.h
blob: f2dae75203bf46dff1400b3d433dea91825b12f1 (plain)
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
/* Author: Max Howell <[email protected]>, (C) 2004
   Copyright: See COPYING file that comes with this distribution

   This has to be a c file or for some reason it won't link! (GCC 3.4.1)
*/

#ifndef XINESCOPE_H
#define XINESCOPE_H

/* need access to some stuff for scope time stamping */
#define METRONOM_INTERNAL

#include <sys/types.h>
#include <xine/metronom.h>

typedef struct my_node_s MyNode;

struct my_node_s
{
    MyNode  *next;
    int16_t *mem;
    int      num_frames;
    int64_t  vpts;
    int64_t  vpts_end;
};

extern metronom_t* const myMetronom;
extern MyNode* const myList;

#ifdef __cplusplus
extern "C"
{
    xine_post_t*
    scope_plugin_new( xine_t*, xine_audio_port_t* );
}
#endif

#endif