Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/volume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void Volume::SetDbfs(float vol){
_volumeDbfs = vol;
}

void Volume::SetFadervalue(float vol){
void Volume::SetFadervalue(uint16_t vol){
_volumeDbfs = helper->Fadervalue2dBfs(vol);
}

Expand Down
2 changes: 1 addition & 1 deletion src/volume.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Volume : public X32Base {
float _volumeDbfs;
public:
void SetDbfs(float volume);
void SetFadervalue(float volume);
void SetFadervalue(uint16_t volume);
float GetDbfs();
float GetFadervalue();
};
Expand Down