# `Rockbox.CrossfeedMode`
[🔗](https://github.com/tsirysndr/rockboxd/blob/master/bindings/elixir/lib/rockbox/crossfeed_mode.ex#L1)

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.

# `t`

```elixir
@type t() :: :off | :meier | :custom
```

# `to_int`

```elixir
@spec to_int(t() | 0..2) :: 0..2
```

Numeric code for a crossfeed mode (atom or already an integer).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
