@@ -118,8 +118,8 @@ struct chnl_mgr {
/* Critical section object handle */
struct sync_csobject *hcs_obj;
u32 word_size; /* Size in bytes of DSP word */
- u32 max_channels; /* Total number of channels */
- u32 open_channels; /* Total number of open channels */
+ u8 max_channels; /* Total number of channels */
+ u8 open_channels; /* Total number of open channels */
struct chnl_object **ap_channel; /* Array of channels */
u8 dw_type; /* Type of channel class library */
/* If no shm syms, return for CHNL_Open */
@@ -94,14 +94,14 @@ struct chnl_mgrinfo {
u8 dw_type; /* Type of channel class library. */
/* Channel handle, given the channel id. */
struct chnl_object *chnl_obj;
- u32 open_channels; /* Number of open channels. */
- u32 max_channels; /* total # of chnls supported */
+ u8 open_channels; /* Number of open channels. */
+ u8 max_channels; /* total # of chnls supported */
};
/* Channel Manager Attrs: */
struct chnl_mgrattrs {
/* Max number of channels this manager can use. */
- u32 max_channels;
+ u8 max_channels;
u32 word_size; /* DSP Word size. */
};
@@ -389,7 +389,7 @@ dsp_status bridge_chnl_create(OUT struct chnl_mgr **phChnlMgr,
{
dsp_status status = DSP_SOK;
struct chnl_mgr *chnl_mgr_obj = NULL;
- s32 max_channels;
+ u8 max_channels;
/* Check DBC requirements: */
DBC_REQUIRE(phChnlMgr != NULL);