myMPD
Internal API documentation
Loading...
Searching...
No Matches
volume.c File Reference

MPD volume wrapper. More...

#include "compile_time.h"
#include "src/mympd_client/volume.h"
#include "src/mympd_client/errorhandler.h"
Include dependency graph for volume.c:

Functions

int mympd_client_get_volume (struct t_partition_state *partition_state)
 

Detailed Description

MPD volume wrapper.

Function Documentation

◆ mympd_client_get_volume()

int mympd_client_get_volume ( struct t_partition_state partition_state)

Requests the volume from MPD.

Parameters
partition_statepointer to partition specific states
Returns
mpd volume or -1 if volume control is disabled