[channels,rdpsnd] remove dead code

This commit is contained in:
akallabeth 2024-10-01 10:18:48 +02:00
parent 8ddb678639
commit 55177e0e46
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 0 additions and 6 deletions

View File

@ -324,12 +324,6 @@ static BOOL rdpsnd_oss_set_volume(rdpsndDevicePlugin* device, UINT32 value)
unsigned left = (((value & 0xFFFF) * 100) / 0xFFFF);
unsigned right = ((((value >> 16) & 0xFFFF) * 100) / 0xFFFF);
if (left > 100)
left = 100;
if (right > 100)
right = 100;
left |= (right << 8);
if (ioctl(oss->mixer_handle, MIXER_WRITE(SOUND_MIXER_VOLUME), &left) == -1)