mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
Move hosted codec header files back under firmware/export
This is a partial revert of a79bdaf46
It caused all sorts of build breakages for misc stuff like the dbtool,
which doesn't include any per-target build directories
Change-Id: I493a33c1859706679972e47c96196223415985d9
This commit is contained in:
parent
c2952136c6
commit
6bdd3de554
8 changed files with 0 additions and 0 deletions
23
firmware/export/erosqlinux_codec.h
Normal file
23
firmware/export/erosqlinux_codec.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef __EROSQLINUX_CODEC__
|
||||
#define __EROSQLINUX_CODEC__
|
||||
|
||||
#define AUDIOHW_CAPS (LINEOUT_CAP)
|
||||
|
||||
/* a small DC offset prevents play/pause clicking due to the DAC auto-muting */
|
||||
#define PCM_DC_OFFSET_VALUE -1
|
||||
|
||||
/*
|
||||
* Note: Maximum volume is set one step below unity in order to
|
||||
* avoid overflowing pcm samples due to our DC Offset.
|
||||
*
|
||||
* The DAC's output is hot enough this should not be an issue.
|
||||
*/
|
||||
AUDIOHW_SETTING(VOLUME, "dB", 0, 2, -74, -2, -40)
|
||||
|
||||
//#define AUDIOHW_NEEDS_INITIAL_UNMUTE
|
||||
|
||||
void audiohw_mute(int mute);
|
||||
void erosq_set_output(int ps);
|
||||
int erosq_get_outputs(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue