view src/aci2/bmi/mmiMidiTest.h @ 638:cab2f315827e

FFS dev.c: added Spansion PL032J to the "generic" table With the discovery of first GTM900 and then Tango, it now appears that Openmoko was not the only manuf after all who kept TI's TCS211 firmware largely intact (as opposed to changing it beyond all recognition like Compal, Chi-Mei and BenQ did), thus we are now getting new "alien" targets on which we reuse the original manuf's FFS with IMEI and RF calibration tables as if it were native. On these targets we use the original device table for FFS, even though we previously thought that it would never apply to any target other than dsample, leonardo and gtamodem. We have previously added Samsung K5L33xxCAM (a new kind of multi-ID device) to the generic table to support its use in Huawei GTM900-B modules; now we got news that some slightly older GTM900-B specimen used S71PL032J instead, so we are now adding PL032J as well.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 17:45:48 +0000
parents 3c2acfa1a72f
children
line wrap: on
line source

#ifndef _MMIMIDITEST_H_
#define _MMIMIDITEST_H_ 1

/*******************************************************************************

					CONDAT (UK)

********************************************************************************                                                                              

 This software product is the property of Condat (UK) Ltd and may not be
 disclosed to any third party without the express permission of the owner.                                 
                                                                              
********************************************************************************

 $Project name:	Basic MMI                                                      
 $Project code:	BMI (6349)                                                           
 $Module:		MidiTest
 $File:		    MmiMidiTest.h
 $Revision:		1.0                                                       
                                                                              
 $Author:		Condat(UK)                                                         
 $Date:		    18/05/04                                                      
                                                                               
********************************************************************************
                                                                              
 Description:

    This provides the code for testing Riviera Midi driver
                        
********************************************************************************
 $History: MmiMidiTest.h
	Apr 05, 2005    REF: ENH 29994 xdeepadh
	Description: Implementation of Generic Midi Ringer and Modification of existing Midi Test Application
	Solution: Generic Midi Ringer and Midi Test Application were implemented.
	
	Dec 08, 2004	REF: CRR MMI-SPR-27284
	Description: MIDI Player: Back Key malfunctions in MIDI application.
	Solution: A window is created to hold list window. When the user presses Back key, the newly 
		    created window is deleted along with list window, bringing the control back to Midi options
		    screen.
	
	18/05/04			Texas Instruments	   
 $End

*******************************************************************************/
EXTERN int 	midi_test_cc_file 		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_cc_voice_limit		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_cc_channels		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_set_loop_on		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_set_loop_off		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_set_channel_mono		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_set_channel_stereo		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_play		(MfwMnu* m, MfwMnuItem* i);
EXTERN int	midi_test_play_all	(MfwMnu* m, MfwMnuItem* i);

// Dec 08, 2004	REF: CRR MMI-SPR-27284
// Description: MIDI Player: Back Key malfunctions in MIDI application.
// Prototype for function midi_test_files_browse()
EXTERN int  midi_test_files_browse 	(MfwMnu* m, MfwMnuItem* i);
EXTERN int  midi_stop_player (MfwMnu* m, MfwMnuItem* i);
EXTERN int midi_test_set_speaker (MfwMnu* m, MfwMnuItem* i);
EXTERN int midi_test_set_headset (MfwMnu* m, MfwMnuItem* i);

/*******************************************************************************
                                                                              
                                Include files
                                                                              
*******************************************************************************/

extern USHORT record_position;



/*******************************************************************************
                                                                              
                                Interface constants
                                                                              
*******************************************************************************/




/*******************************************************************************
                                                                              
                                Public methods
                                                                              
*******************************************************************************/

/* pretty standard initialise, execute and exit methods
*/



/*******************************************************************************
                                                                              
                                End of File
                                                                              
*******************************************************************************/
#endif