comparison g23m/condat/ms/src/mfw/mfw_mp3test.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
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 Nov 16,2005 REF: DR OMAPS00049192 x0039928
15 Bug:MP3: The screen is not refreshed after the mp3 file completes playing
16 Fix: The AUDIO_OK event recieved after mp3 file play completes is now handled
17 in mfw_mp3_test_start_cb()
18
19 Nov 14, 2005 REF: OMAPS00044445 xdeepadh
20 Description: Implementation of Test Menu for AAC
21 Solution: The existing MP3 test Application has been enhanced to support the AAC file testing.
22 The interfaces have been made generic to support both MP3 and AAC files.
23
24 */
25
26 /*
27 ** Midi Test Return Values
28 */
29
30
31 #define MFW_PLAYER_MP3 0
32 #define MFW_PLAYER_AAC 1
33
34 #define MFW_PLAYER_TEST_OK (0)
35 #define MFW_PLAYER_TEST_RIVIERA_FAILED (-1)
36 #define MFW_PLAYER_TEST_MEM_FULL (-2)
37 #define MFW_PLAYER_TEST_MEM_EMPTY (-3)
38
39 // Nov 16,2005 REF: DR OMAPS00049192 x0039928
40 typedef struct
41 {
42 T_MFW_HND focus_win;
43 void (*callback)(T_MFW_HND);
44 } MMI_RETURN_PATH;
45
46 /*
47 ** Midi Test Functions Prototypes
48 */
49
50 SHORT mfw_audio_player_set_channel_mono(void);
51 SHORT mfw_audio_player_set_channel_stereo(void);
52 SHORT mfw_audio_player_play(void);
53 char* mfw_audio_player_return_file_name(int index);
54 int mfw_audio_player_return_file_number(void);
55 SHORT mfw_audio_player_save_selected_file_idx(int index);
56 SHORT mfw_audio_player_play(void);
57 SHORT mfw_audio_player_pause(void);
58 SHORT mfw_audio_player_resume(void);
59 SHORT mfw_audio_player_stop(void);
60 void mfw_audio_player_init(void);
61 char *mfw_audio_player_GetExtension(char *src);
62
63
64
65
66