Use bitmasks to define which inputs are available. Makes it easier to remove old...
commitfacdf4fff69174b5a7ac507f0bca573d5073f854
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 20 May 2007 20:26:36 +0000 (20 20:26 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sun, 20 May 2007 20:26:36 +0000 (20 20:26 +0000)
treea54381487762ec69bdec99f69dd24b148d3400b9
parent0bf88cbacd9dcc17b5d9501876ccdc8055755ce3
Use bitmasks to define which inputs are available. Makes it easier to remove old assumptions of which are available. Inspired by e200 being unique in having FM Radio and Mic but no Line. Doesn't remove the assumption that Mic is available or that one of Mic and/or Line is available just to avoid excessive #ifdef'ing until needed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13448 a1c6a512-1295-4272-9138-f99709370657
28 files changed:
apps/gui/statusbar.c
apps/menus/recording_menu.c
apps/recorder/radio.c
apps/recorder/recording.c
apps/settings_list.c
firmware/export/audio.h
firmware/export/config-e200.h
firmware/export/config-fmrecorder.h
firmware/export/config-h10.h
firmware/export/config-h100.h
firmware/export/config-h10_5gb.h
firmware/export/config-h120.h
firmware/export/config-h300.h
firmware/export/config-iaudiom5.h
firmware/export/config-iaudiox5.h
firmware/export/config-ipod4g.h
firmware/export/config-ipodcolor.h
firmware/export/config-ipodnano.h
firmware/export/config-ipodvideo.h
firmware/export/config-ondiofm.h
firmware/export/config-recorder.h
firmware/export/config-recorderv2.h
firmware/export/config.h
firmware/export/config_caps.h [new file with mode: 0644]
firmware/export/pcm_record.h
firmware/target/arm/audio-pp.c
firmware/target/arm/system-pp502x.c
firmware/target/coldfire/pcm-coldfire.c