Changeset 7a0a0f5 in mainline
- Timestamp:
- 2011-09-25T12:37:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0687e1b
- Parents:
- 01282fc
- Location:
- uspace/drv/audio/sb16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/mixer.h
r01282fc r7a0a0f5 38 38 39 39 typedef enum mixer_type { 40 SB_MIXER_NONE, 40 41 SB_MIXER_CT1335, 41 42 SB_MIXER_CT1345, -
uspace/drv/audio/sb16/sb16.c
r01282fc r7a0a0f5 44 44 static mixer_type_t mixer_type_by_dsp_version(unsigned major, unsigned minor) 45 45 { 46 return SB_MIXER_UNKNOWN; 46 switch (major) 47 { 48 case 1: return SB_MIXER_NONE; /* SB 1.5 and early 2.0 = no mixer chip */ 49 case 2: return (minor == 0) ? SB_MIXER_NONE : SB_MIXER_CT1335; 50 case 3: return SB_MIXER_CT1345; /* SB Pro */ 51 case 4: return SB_MIXER_CT1745; /* SB 16 */ 52 default: return SB_MIXER_UNKNOWN; 53 } 47 54 } 48 55 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.