MPD: mixer/Volume.hxx File Reference

MPD 0.20.15

Functions
Volume.hxx File Reference
`#include "Compiler.h"`
Include dependency graph for Volume.hxx:

Go to the source code of this file.

## Functions
void | InvalidateHardwareVolume () noexcept
gcc_pure int | volume_level_get (const MultipleOutputs &outputs) noexcept
bool | volume_level_change (MultipleOutputs &outputs, unsigned volume)
bool | read_sw_volume_state (const char *line, MultipleOutputs &outputs)
void | save_sw_volume_state (BufferedOutputStream &os)
gcc_pure unsigned | sw_volume_state_get_hash () noexcept
| Generates a hash number for the current state of the software volume control. More...

## Function Documentation

## ◆ InvalidateHardwareVolume()

void InvalidateHardwareVolume | ( |  | ) |
| noexcept

## ◆ read_sw_volume_state()

bool read_sw_volume_state | ( | const char * | line,
|  | MultipleOutputs & | outputs
| ) |  |

## ◆ save_sw_volume_state()

void save_sw_volume_state | ( | BufferedOutputStream & | os | ) |

## ◆ sw_volume_state_get_hash()

gcc_pure unsigned sw_volume_state_get_hash | ( |  | ) |
| noexcept

Generates a hash number for the current state of the software volume control.

This is used by timer_save_state_file() to determine whether the state has changed and the state file should be saved.

## ◆ volume_level_change()

bool volume_level_change | ( | MultipleOutputs & | outputs,
|  | unsigned | volume
| ) |  |

## ◆ volume_level_get()

gcc_pure int volume_level_get | ( | const MultipleOutputs & | outputs | ) |
| noexcept