GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / dream / include / mach / qdsp5 / qdsp5audplaymsg.h
blobc63034b8bf137d1119bb90033b4f1f2654b21ca0
1 #ifndef QDSP5AUDPLAYMSG_H
2 #define QDSP5AUDPLAYMSG_H
4 /*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
6 Q D S P 5 A U D I O P L A Y T A S K M S G
8 GENERAL DESCRIPTION
9 Message sent by AUDPLAY task
11 REFERENCES
12 None
15 Copyright(c) 1992 - 2009 by QUALCOMM, Incorporated.
17 This software is licensed under the terms of the GNU General Public
18 License version 2, as published by the Free Software Foundation, and
19 may be copied, distributed, and modified under those terms.
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
26 *====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*/
27 /*===========================================================================
29 EDIT HISTORY FOR FILE
31 This section contains comments describing changes made to this file.
32 Notice that changes are listed in reverse chronological order.
34 $Header: //source/qcom/qct/multimedia2/Audio/drivers/QDSP5Driver/QDSP5Interface/main/latest/qdsp5audplaymsg.h#3 $
36 ===========================================================================*/
37 #define AUDPLAY_MSG_DEC_NEEDS_DATA 0x0001
38 #define AUDPLAY_MSG_DEC_NEEDS_DATA_MSG_LEN \
39 sizeof(audplay_msg_dec_needs_data)
41 typedef struct{
42 /* reserved*/
43 unsigned int dec_id;
45 /* The read pointer offset of external memory until which the
46 * bitstream has been DMAed in. */
47 unsigned int adecDataReadPtrOffset;
49 /* The buffer size of external memory. */
50 unsigned int adecDataBufSize;
52 unsigned int bitstream_free_len;
53 unsigned int bitstream_write_ptr;
54 unsigned int bitstarem_buf_start;
55 unsigned int bitstream_buf_len;
56 } __attribute__((packed)) audplay_msg_dec_needs_data;
58 #define AUDPLAY_MSG_BUFFER_UPDATE 0x0004
59 #define AUDPLAY_MSG_BUFFER_UPDATE_LEN \
60 sizeof(struct audplay_msg_buffer_update)
62 struct audplay_msg_buffer_update {
63 unsigned int buffer_write_count;
64 unsigned int num_of_buffer;
65 unsigned int buf0_address;
66 unsigned int buf0_length;
67 unsigned int buf1_address;
68 unsigned int buf1_length;
69 } __attribute__((packed));
70 #endif /* QDSP5AUDPLAYMSG_H */