comparison src/ui/mfw/mfw_mp3test.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 /*
2 +--------------------------------------------------------------------+
3 | PROJECT: MMI-Framework (8417) $Workfile:: mfw_mp3test.h $|
4 | $Author:: NDH $Revision:: 1 $|
5 | CREATED: 21.05.04 $Modtime:: 21.05.04 $|
6 | STATE : code |
7 +--------------------------------------------------------------------+
8
9 MODULE : MFW_MP3TEST
10
11 PURPOSE : This module contains the definitions for the Midi Riveria Interface.
12
13 HISTORY :
14
15 Sep 11, 2006 DR: OMAPS00094182 xrashmic
16 Description: midi and mp3 files is not being populated on accessing corresponding menu, but only during bootup
17 Solution: Populate files on accessing the "browse files" list
18
19 Jun 02,2006 REF: DR OMAPS00079746 x0039928
20 Bug:MMI displays 'Playing' when trying to play a wrong file
21 Fix: MP3 playback error is handled.
22
23 Nov 16,2005 REF: DR OMAPS00049192 x0039928
24 Bug:MP3: The screen is not refreshed after the mp3 file completes playing
25 Fix: The AUDIO_OK event recieved after mp3 file play completes is now handled
26 in mfw_mp3_test_start_cb()
27
28 Nov 14, 2005 REF: OMAPS00044445 xdeepadh
29 Description: Implementation of Test Menu for AAC
30 Solution: The existing MP3 test Application has been enhanced to support the AAC file testing.
31 The interfaces have been made generic to support both MP3 and AAC files.
32
33 */
34
35 /*
36 ** Midi Test Return Values
37 */
38
39
40 #define MFW_PLAYER_MP3 0
41 #define MFW_PLAYER_AAC 1
42
43 #define MFW_PLAYER_TEST_OK (0)
44 #define MFW_PLAYER_TEST_RIVIERA_FAILED (-1)
45 #define MFW_PLAYER_TEST_MEM_FULL (-2)
46 #define MFW_PLAYER_TEST_MEM_EMPTY (-3)
47
48 // Nov 16,2005 REF: DR OMAPS00049192 x0039928
49 // Jun 02,2006 REF: DR OMAPS00079746 x0039928
50 // Fix: Added a new parameter to the callback function.
51 typedef struct
52 {
53 T_MFW_HND focus_win;
54 void (*callback)(T_MFW_HND, SHORT);
55 } MMI_RETURN_PATH;
56
57 /*
58 ** Midi Test Functions Prototypes
59 */
60
61 SHORT mfw_audio_player_set_channel_mono(void);
62 SHORT mfw_audio_player_set_channel_stereo(void);
63 SHORT mfw_audio_player_play(void);
64 char* mfw_audio_player_return_file_name(int index);
65 int mfw_audio_player_return_file_number(void);
66 SHORT mfw_audio_player_save_selected_file_idx(int index);
67 SHORT mfw_audio_player_play(void);
68 SHORT mfw_audio_player_pause(void);
69 SHORT mfw_audio_player_resume(void);
70 SHORT mfw_audio_player_stop(void);
71 void mfw_audio_player_init(void);
72 char *mfw_audio_player_GetExtension(char *src);
73 void mfw_audio_player_unpopulate_files(void);//Sep 11, 2006 DR: OMAPS00094182 xrashmic
74
75
76
77
78