forked from len0rd/rockbox
nwzlinux: add support for radio
None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
This commit is contained in:
parent
ee2eb13b74
commit
0fe7b8becf
10 changed files with 279 additions and 18 deletions
|
|
@ -26,11 +26,20 @@
|
|||
/* Ranges from -100dB to 4dB */
|
||||
AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -100, 4, -10)
|
||||
|
||||
enum nwz_src_t
|
||||
{
|
||||
NWZ_PLAYBACK,
|
||||
NWZ_RADIO,
|
||||
NWZ_MIC,
|
||||
};
|
||||
|
||||
/* enable/disable Sony's "acoustic" mode */
|
||||
bool audiohw_acoustic_enabled(void);
|
||||
void audiohw_enable_acoustic(bool en);
|
||||
/* enable/disable Sony's "cuerev" mode */
|
||||
bool audiohw_cuerev_enabled(void);
|
||||
void audiohw_enable_cuerev(bool en);
|
||||
/* select playback source */
|
||||
void audiohw_set_playback_src(enum nwz_src_t src);
|
||||
|
||||
#endif /* __NWZLINUX_CODEC_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue