Audio latency is the small delay that sits between the app and your playing, and it comes in two parts. Output latency is the time from the app playing a sound until you actually hear it, which is small on the built-in speaker and wired headphones but can be much larger on Bluetooth. Input latency is the time from your hit until the app registers it.
Because you play along with what you hear, EarDrum needs to account for both to judge accurately whether each hit is early, late, or right on time.
Output latency: Auto
By default, Audio Latency is set to Auto. EarDrum uses the latency your device reports for the current output (speaker, wired, or wireless) and updates it automatically when you switch. This works well for most setups.
Output latency: Manual and calibration
If your hits consistently read early or late, open Settings -> Audio Latency and turn Auto off. You can then adjust the value by hand with the slider, or tap Calibrate and play along with the click on your current input method until you "bury" it under your hits. Calibration stops by itself once your timing is consistent.
Try to play as precisely on the click as you can, so your own timing habits don't get baked into the result. A calibration is saved for the output it was made on. Other outputs keep using Auto, and calibrating on a different output replaces it.
Calibrating with the microphone
If you practice with the microphone, the app can measure the delay directly instead of relying on your playing. With headphones on, tick "Headphones to mic" and hold your headphones up to the microphone. The app listens to its own click, so your timing doesn't affect the result.
Input latency
Input latency is accounted for accurately for every input method, whether that's an electronic kit over MIDI, a practice pad with the microphone, or the on-screen drums. There's nothing for you to set up.