We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59c6665 commit f98e6c9Copy full SHA for f98e6c9
src/detection/sound/sound_bsd.c
@@ -39,6 +39,7 @@ const char* ffDetectSound(FFlist* devices)
39
FFSoundDevice* device = ffListAdd(devices);
40
ffStrbufInitS(&device->identifier, path);
41
ffStrbufInitF(&device->name, "%s %s", ci.longname, ci.hw_info);
42
+ ffStrbufTrimRightSpace(&device->name);
43
device->volume = mutemask & SOUND_MASK_VOLUME
44
? 0
45
: ((uint8_t) volume /*left*/ + (uint8_t) (volume >> 8) /*right*/) / 2;
0 commit comments