soumya92/barista

View on GitHub
modules/volume/alsa/alsa.go

Summary

Maintainability
A
55 mins
Test Coverage
A
100%

Method alsaModule.Worker has 9 return statements (exceeds 4 allowed).
Open

func (m *alsaModule) Worker(s *value.ErrorValue) {
    // Structs for querying ALSA.
    var handle *ctyp_snd_mixer_t
    var sid *ctyp_snd_mixer_selem_id_t
    // Shortcut for error handling
Severity: Major
Found in modules/volume/alsa/alsa.go - About 55 mins to fix

    There are no issues that match your filters.

    Category
    Status