Headphone crossfeed modes for Rockbox.Player.set_crossfeed/6.
These mirror the C ABI enum:
| Atom | Value | Meaning |
|---|---|---|
:off | 0 | Crossfeed disabled |
:meier | 1 | Meier preset (direct/cross/high-frequency defaults) |
:custom | 2 | Custom direct/cross/high-frequency gains and cutoff |
to_int/1 accepts either the atom or the raw integer, so callers can pass
whichever they prefer.
Summary
Functions
Numeric code for a crossfeed mode (atom or already an integer).
Types
Functions
@spec to_int(t() | 0..2) :: 0..2
Numeric code for a crossfeed mode (atom or already an integer).