comparison src/ui/bmi/mmiMidiTest.h @ 3:67bfe9f274f6

src/ui: import of src/ui3 from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:33:10 +0000
parents
children
comparison
equal deleted inserted replaced
2:3a14ee9a9843 3:67bfe9f274f6
1 #ifndef _MMIMIDITEST_H_
2 #define _MMIMIDITEST_H_ 1
3
4 /*******************************************************************************
5
6 CONDAT (UK)
7
8 ********************************************************************************
9
10 This software product is the property of Condat (UK) Ltd and may not be
11 disclosed to any third party without the express permission of the owner.
12
13 ********************************************************************************
14
15 $Project name: Basic MMI
16 $Project code: BMI (6349)
17 $Module: MidiTest
18 $File: MmiMidiTest.h
19 $Revision: 1.0
20
21 $Author: Condat(UK)
22 $Date: 18/05/04
23
24 ********************************************************************************
25
26 Description:
27
28 This provides the code for testing Riviera Midi driver
29
30 ********************************************************************************
31 $History: MmiMidiTest.h
32
33 Sep 11, 2006 DR: OMAPS00094182 xrashmic
34 Description: midi and mp3 files is not being populated on accessing corresponding menu, but only during bootup
35 Solution: Populate files on accessing the "browse files" list
36
37 June 19, 2006 REF: DRT OMAPS00076378 x0012849 : Jagannatha
38 Description: MIDI files should play while browsing
39 Solution: Added protoype of a function which will return a value based on
40 whether list of MIDI files is showed or not.
41
42 Apr 05, 2005 REF: ENH 29994 xdeepadh
43 Description: Implementation of Generic Midi Ringer and Modification of existing Midi Test Application
44 Solution: Generic Midi Ringer and Midi Test Application were implemented.
45
46 Dec 08, 2004 REF: CRR MMI-SPR-27284
47 Description: MIDI Player: Back Key malfunctions in MIDI application.
48 Solution: A window is created to hold list window. When the user presses Back key, the newly
49 created window is deleted along with list window, bringing the control back to Midi options
50 screen.
51
52 18/05/04 Texas Instruments
53 $End
54
55 *******************************************************************************/
56 // June 19, 2006 REF: DRT OMAPS00076378 x0012849
57 EXTERN BOOL MIDIstatus();
58 EXTERN int midi_test_cc_file (MfwMnu* m, MfwMnuItem* i);
59 EXTERN int midi_test_cc_voice_limit (MfwMnu* m, MfwMnuItem* i);
60 EXTERN int midi_test_cc_channels (MfwMnu* m, MfwMnuItem* i);
61 EXTERN int midi_test_set_loop_on (MfwMnu* m, MfwMnuItem* i);
62 EXTERN int midi_test_set_loop_off (MfwMnu* m, MfwMnuItem* i);
63 EXTERN int midi_test_set_channel_mono (MfwMnu* m, MfwMnuItem* i);
64 EXTERN int midi_test_set_channel_stereo (MfwMnu* m, MfwMnuItem* i);
65 EXTERN int midi_test_play (MfwMnu* m, MfwMnuItem* i);
66 EXTERN int midi_test_play_all (MfwMnu* m, MfwMnuItem* i);
67
68 // Dec 08, 2004 REF: CRR MMI-SPR-27284
69 // Description: MIDI Player: Back Key malfunctions in MIDI application.
70 // Prototype for function midi_test_files_browse()
71 EXTERN int midi_test_files_browse (MfwMnu* m, MfwMnuItem* i);
72 EXTERN int midi_stop_player (MfwMnu* m, MfwMnuItem* i);
73 EXTERN int midi_test_set_speaker (MfwMnu* m, MfwMnuItem* i);
74 EXTERN int midi_test_set_headset (MfwMnu* m, MfwMnuItem* i);
75 //Sep 11, 2006 DR: OMAPS00094182 xrashmic
76 GLOBAL int mmi_midi_test_Application (MfwMnu* m, MfwMnuItem* i);
77
78 /*******************************************************************************
79
80 Include files
81
82 *******************************************************************************/
83
84 extern USHORT record_position;
85
86
87
88 /*******************************************************************************
89
90 Interface constants
91
92 *******************************************************************************/
93
94
95
96
97 /*******************************************************************************
98
99 Public methods
100
101 *******************************************************************************/
102
103 /* pretty standard initialise, execute and exit methods
104 */
105
106
107
108 /*******************************************************************************
109
110 End of File
111
112 *******************************************************************************/
113 #endif
114