| 35 | } |
| 36 | |
| 37 | void EventCodeMap::init() |
| 38 | { |
| 39 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_SW_VIDEO_DECODER, 100)); |
| 40 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_AUDIO_CODEC_NOT_SUPPORT, 101)); |
| 41 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_AUDIO_DECODER_DEVICE_ERROR, 102)); |
| 42 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_VIDEO_CODEC_NOT_SUPPORT, 103)); |
| 43 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_VIDEO_DECODER_DEVICE_ERROR, 104)); |
| 44 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_VIDEO_RENDER_INIT_ERROR, 105)); |
| 45 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_DEMUXER_TRACE_ID, 106)); |
| 46 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_DEMUXER_EOF, 107)); |
| 47 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_NETWORK_RETRY, 108)); |
| 48 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_CACHE_SUCCESS, 109)); |
| 49 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_CACHE_ERROR, 110)); |
| 50 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_SYSTEM_LOW_MEMORY, 111)); |
| 51 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_DEMUXER_STARTUP_INFO, 112)); |
| 52 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_NETWORK_RETRY_SUCCESS, 113)); |
| 53 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_SUBTITLE_SELECT_ERROR, 114)); |
| 54 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_DECODER_RECOVER_SIZE, 115)); |
| 55 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_DIRECT_COMPONENT_MSG, 116)); |
| 56 | codeMap.insert(pair<int, int>(MEDIA_PLAYER_EVENT_OPEN_AUDIO_DEVICE_FAILED, 117)); |
| 57 | } |
no outgoing calls
no test coverage detected