1. 24 Sep, 2019 2 commits
    • Ronald van Engelen's avatar
      CHANGELOG: updated · fb83f5ce
      Ronald van Engelen authored
      fb83f5ce
    • Ronald van Engelen's avatar
      alsa-capabilities: · c68d2b55
      Ronald van Engelen authored
      - added mute (alactl store/restore) functions to supress sounds when using OPT_SAMPLERATES
      - fixed json output
      
      alsa-capabilities.1.md:
      
      - removed CAUTION for using the OPT_SAMPLERATES switch
      
      README.md:
      
      - removed CAUTION for using the OPT_SAMPLERATES switch
      - updated json documentation
      c68d2b55
  2. 22 Sep, 2019 2 commits
    • Ronald van Engelen's avatar
      .gitignore: · 4237278b
      Ronald van Engelen authored
      - added .stash
      4237278b
    • Ronald van Engelen's avatar
      alsa-capabilities: · e815ca5b
      Ronald van Engelen authored
      - removed obsolete shellcheck exceptions
      - removed PROFILE functionality
      - reordered functions
      - removed obsolete return_reversed... function
      - added trap for unmuting in effect restoring previous alsa state
      e815ca5b
  3. 19 Sep, 2019 2 commits
    • Ronald van Engelen's avatar
      housekeeping · 92bb6819
      Ronald van Engelen authored
      92bb6819
    • Ronald van Engelen's avatar
      alsa-capabilities: · 30ba90db
      Ronald van Engelen authored
      - got rid of single return_reversed_aplay usage
      - got rid of some res=$() constructs (and shellcheck exceptions)
      - replaced single '[[:space:]]' in regexps by ' '
      - clarified some human output sentences
      - introduces alsa_mute and unmute functionality (using trap)
      30ba90db
  4. 16 Sep, 2019 1 commit
    • Ronald van Engelen's avatar
      alsa-capabilities: · e403a099
      Ronald van Engelen authored
      - inspired by neatbash trying to improve maintainability/radability:
        - replaced most cases of `if [[ "${VAR}x" == "x" ]] then ...'
          with                   `[[ ${VAR} ]] || ...'
      - cleaned up and simplified main arrays
        - separated big main loop (fetch_alsa_interfaces)
        - fixed regex for CARD and DEV names and labels; get rid of complex
          bracket handling
        - consice filtering: three simple new
          functions (apply_filter_...) (type, custom, hwaddress) don't operate
          on main arrays (ALSA_...) but on new FILTERED_INDICE array; just
          unset indice that don't match filter
      - simplified terminal-output
      e403a099
  5. 15 Sep, 2019 2 commits
  6. 13 Sep, 2019 25 commits
  7. 12 Sep, 2019 4 commits
  8. 11 Sep, 2019 2 commits