volume: don't pass "fd" to changeVolumeLevel()
The "volume" library shouldn't talk to the client. Move error handling to command.c.
This commit is contained in:
@@ -33,7 +33,7 @@ void finishVolume(void);
|
||||
|
||||
int getVolumeLevel(void);
|
||||
|
||||
int changeVolumeLevel(int fd, int change, int rel);
|
||||
int changeVolumeLevel(int change, int rel);
|
||||
|
||||
void read_sw_volume_state(FILE *fp);
|
||||
|
||||
|
Reference in New Issue
Block a user