Norihiro Kamae 0eed7ca98f libobs/audio-monitoring: Fix PulseAudio monitoring volume for s32 format
When signed 32-bit audio arrived to pulseaudio-output and volume was
lowered, audio data was broken. In the function `process_volume`, the
type of the data is switched by `bytes_per_channel`. However the size of
signed 32-bit integer and the size of float are same so that the signed
32-bit integer is processed as float.
This commit changes these items.
- Use `format` instead of `bytes_per_channel` so that all the sample
  types can be differentiated.
- Change `short` to `int16_t` and renames existing function
  `process_short` to `process_s16` to clarify the function is
  processing signed 16-bit.
2021-10-23 23:59:53 -07:00
..
2021-07-06 14:08:28 -07:00
2019-06-23 23:49:10 -07:00
2021-10-04 10:38:39 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2021-03-16 22:15:16 -07:00
2019-10-14 17:19:38 -07:00
2019-06-23 23:49:10 -07:00
2021-08-23 22:57:10 -07:00
2021-10-15 22:10:33 -07:00
2020-08-10 12:24:01 -07:00
2021-02-09 09:39:04 -03:00