spandsp 0.0.6

media_monitor.h
1/*
2 * SpanDSP - a series of DSP components for telephony
3 *
4 * media_monitor.h - Display IP streaming media status, using the FLTK toolkit.
5 *
6 * Written by Steve Underwood <steveu@coppice.org>
7 *
8 * Copyright (C) 2007 Steve Underwood
9 *
10 * All rights reserved.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2, as
14 * published by the Free Software Foundation.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26/*! \page media_monitor_page IP streaming media performance monitoring
27\section media_monitor_page_sec_1 What does it do?
28 This code controls a GUI window, which provides monitoring of the status
29 of an IP media stream. It shows, graphically:
30
31\section media_monitor_page_sec_2 How does it work?
32 This code uses the FLTK cross platform GUI toolkit. It works on X11 and Windows platforms.
33 In addition to the basic FLTK toolkit, fltk_cartesian is also required.
34*/
35
36#if !defined(_MEDIA_MONITOR_H_)
37#define _MEDIA_MONITOR_H_
38
39#if defined(__cplusplus)
40 extern "C"
41{
42#endif
43
44 int start_media_monitor(void);
45 void media_monitor_rx(int seq_no, double departure_time, double arrival_time);
46 void media_monitor_wait_to_end(void);
47 void media_monitor_update_display(void);
48
49#if defined(__cplusplus)
50}
51#endif
52
53#endif
54/*- End of file ------------------------------------------------------------*/