1 #ifndef QDSP5AUDPREPROCMSG_H
2 #define QDSP5AUDPREPROCMSG_H
4 /*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
6 A U D I O P R E P R O C E S S I N G M E S S A G E S
9 This file contains defintions of format blocks of messages
10 that are rcvd by AUDPREPROC Task
15 EXTERNALIZED FUNCTIONS
18 Copyright(c) 1992 - 2008 by QUALCOMM, Incorporated.
20 This software is licensed under the terms of the GNU General Public
21 License version 2, as published by the Free Software Foundation, and
22 may be copied, distributed, and modified under those terms.
24 This program is distributed in the hope that it will be useful,
25 but WITHOUT ANY WARRANTY; without even the implied warranty of
26 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 GNU General Public License for more details.
29 *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/
30 /*===========================================================================
34 This section contains comments describing changes made to this file.
35 Notice that changes are listed in reverse chronological order.
37 $Header: //source/qcom/qct/multimedia2/Audio/drivers/QDSP5Driver/QDSP5Interface/main/latest/qdsp5audpreprocmsg.h#3 $
39 ===========================================================================*/
42 * ADSPREPROCTASK Messages
43 * AUDPREPROCTASK uses audPreProcUpRlist to communicate with ARM
49 * Message to indicate particular feature has been enabled or disabled
53 #define AUDPREPROC_MSG_CMD_CFG_DONE_MSG 0x0000
54 #define AUDPREPROC_MSG_CMD_CFG_DONE_MSG_LEN \
55 sizeof(audpreproc_msg_cmd_cfg_done_msg)
57 #define AUDPREPROC_MSG_TYPE_AGC 0x0000
58 #define AUDPREPROC_MSG_TYPE_NOISE_REDUCTION 0x0001
59 #define AUDPREPROC_MSG_TYPE_IIR_FILTER 0x0002
62 #define AUDPREPROC_MSG_STATUS_FLAG_ENA -1
63 #define AUDPREPROC_MSG_STATUS_FLAG_DIS 0x0000
67 signed short status_flag
;
68 } __attribute__((packed
)) audpreproc_msg_cmd_cfg_done_msg
;
72 * Message to indicate particular feature has selected for wrong samp freq
75 #define AUDPREPROC_MSG_ERROR_MSG_ID 0x0001
76 #define AUDPREPROC_MSG_ERROR_MSG_ID_LEN \
77 sizeof(audpreproc_msg_error_msg_id)
79 #define AUDPREPROC_MSG_ERR_INDEX_NS 0x0000
82 unsigned short err_index
;
83 } __attribute__((packed
)) audpreproc_msg_error_msg_id
;