root/rat/trunk/ui.h @ 2058

Revision 2058, 5.0 KB (checked in by ucaccsp, 16 years ago)

Remove tool.rat.redundancy and tool.rat.interleaving, and merge their
functions into audio.channel.coding

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2 * FILE:    ui_control.h
3 * PROGRAM: RAT
4 * AUTHOR:  Isidor Kouvelas + Colin Perkins + Orion Hodson
5 *     
6 * Copyright (c) 1995-98 University College London
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, is permitted, for non-commercial use only, provided
11 * that the following conditions are met:
12 * 1. Redistributions of source code must retain the above copyright
13 *    notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright
15 *    notice, this list of conditions and the following disclaimer in the
16 *    documentation and/or other materials provided with the distribution.
17 * 3. All advertising materials mentioning features or use of this software
18 *    must display the following acknowledgement:
19 *      This product includes software developed by the Computer Science
20 *      Department at University College London
21 * 4. Neither the name of the University nor of the Department may be used
22 *    to endorse or promote products derived from this software without
23 *    specific prior written permission.
24 * Use of this software for commercial purposes is explicitly forbidden
25 * unless prior written permission is obtained from the authors.
26 *
27 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
28 * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
31 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * SUCH DAMAGE.
38 */
39
40#ifndef _UI_UPDATE_H
41#define _UI_UPDATE_H
42
43struct session_tag;
44struct s_rtcp_dbentry;
45struct s_cbaddr;
46struct s_mix_info;
47
48void       ui_info_update_name(struct session_tag *s, struct s_rtcp_dbentry *e);
49void      ui_info_update_cname(struct session_tag *s, struct s_rtcp_dbentry *e);
50void      ui_info_update_email(struct session_tag *s, struct s_rtcp_dbentry *e);
51void      ui_info_update_phone(struct session_tag *s, struct s_rtcp_dbentry *e);
52void        ui_info_update_loc(struct session_tag *s, struct s_rtcp_dbentry *e);
53void       ui_info_update_tool(struct session_tag *s, struct s_rtcp_dbentry *e);
54void       ui_info_update_note(struct session_tag *s, struct s_rtcp_dbentry *e);
55void              ui_info_mute(struct session_tag *s, struct s_rtcp_dbentry *e);
56void            ui_info_remove(struct session_tag *s, struct s_rtcp_dbentry *e);
57void          ui_info_activate(struct session_tag *s, struct s_rtcp_dbentry *e);
58void        ui_info_deactivate(struct session_tag *s, struct s_rtcp_dbentry *e);
59
60void    ui_show_audio_busy(struct session_tag *s);
61void    ui_hide_audio_busy(struct session_tag *s);
62void    ui_input_level(struct session_tag *s, int level);
63void    ui_output_level(struct session_tag *s, int level);
64void    ui_update_input_gain(struct session_tag *sp);
65void    ui_update_output_gain(struct session_tag *sp);
66void    ui_update_input_port(struct session_tag *sp);
67void    ui_update_frequency(struct session_tag *sp);
68void    ui_update_channels(struct session_tag *sp);
69void    ui_update_output_port(struct session_tag *sp);
70void    ui_update_primary(struct session_tag *sp);
71void    ui_update_channel(struct session_tag *sp) ;
72void    ui_update_powermeters(struct session_tag *sp, struct s_mix_info *ms, int elapsed_time);
73
74void    ui_update_stats(struct session_tag *s, struct s_rtcp_dbentry *e);
75void    ui_update_lecture_mode(struct session_tag *session_pointer);
76void    ui_update(struct session_tag *session_pointer);
77void    ui_update_loss(struct session_tag *s, char *srce, char *dest, int loss);
78void    ui_update_reception(struct session_tag *s, char *cname, u_int32 recv, u_int32 lost, u_int32 misordered, u_int32 duplicates, u_int32 jitter, int jit_tog);
79void    ui_update_duration(struct session_tag *s, char *cname, int duration);
80
81void    ui_update_video_playout(struct session_tag *s, char *cname, int playout);
82void    ui_update_sync(struct session_tag *s, int sync);
83void    ui_update_key(struct session_tag *s, char *key);
84
85void    ui_update_playback_file(struct session_tag *s, char *name);
86void    ui_update_record_file(struct session_tag *s, char *name);
87void    ui_update_file_live(struct session_tag *s, char *mode, int valid);
88
89void    ui_codecs(struct session_tag *s, int pt);
90void    ui_converters(struct session_tag *s);
91void    ui_sampling_modes(struct session_tag *sp);
92void    ui_title(struct session_tag *sp);
93void    ui_controller_init(struct session_tag *s, char *cname, char *name_engine, char *name_ui, char *name_video);
94void    ui_load_settings(struct session_tag *s);
95void    ui_quit(struct session_tag *s);
96
97#endif
Note: See TracBrowser for help on using the browser.