FreeCalypso > hg > fc-tourmaline
view src/cs/layer1/audio_include/l1audio_proto.h @ 265:e57bfdadf49a
mmiIcons.c: fix bogus icnType in incoming_call_animate[]
The incoming call animation icons are actually drawn in 256-color format,
but they were incorrectly declared as BMP_FORMAT_32BIT_COLOUR in the
incoming_call_animate[] array. Why were they still getting displayed
correctly despite this bogosity? Answer: because the
mmi_dialogs_animation_new_CB() function overrides the icon bitmap
type to 0x02, which means 256-color format. Needless to say, the
icon format should be made correct at the source of the data, and
at some later point we may need to remove the override from the
animation display function.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 17 May 2021 07:18:36 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
/************* Revision Controle System Header ************* * GSM Layer 1 software * L1AUDIO_PROTO.H * * Filename l1audio_proto.h * Copyright 2004 (C) Texas Instruments * ************* Revision Controle System Header *************/ #if (AUDIO_TASK == 1) #ifndef _L1AUDIO_PROTO_H_ #define _L1AUDIO_PROTO_H_ // Functions declared in l1audio_afunc.c void l1a_audio_send_confirmation(UWORD32 SignalCode); void l1a_audio_send_result (UWORD32 SignalCode, xSignalHeaderRec *msg, UWORD8 queue); #if (SPEECH_RECO) void l1_send_sr_background_msg (UWORD32 SignalCode); #endif #if (MELODY_E2) void l1_send_melody_e2_background_msg(UWORD32 SignalCode, UWORD8 melody_id); #endif #endif // _L1AUDIO_PROTO_H_ #endif // AUDIO_TASK