defaultSleepCompatibility top-level constant
Sleep protocols: headband/pillow speakers are optimal for comfort; standard headphones work but may be uncomfortable for sleeping.
Implementation
const defaultSleepCompatibility = <OutputSource, SourceEffectiveness>{
OutputSource.sleepBand: SourceEffectiveness.optimal,
OutputSource.headphones: SourceEffectiveness.effective,
OutputSource.boneConduction: SourceEffectiveness.effective,
OutputSource.speakers: SourceEffectiveness.partial,
OutputSource.smartphone: SourceEffectiveness.partial,
};