Implement volumes for sources
- Added a volume variable to the obs_source structure and implemented functions for manipulating source volume. - Added a volume variable to the audio_data structure so that the volume will be applied when mixing.
This commit is contained in:
@@ -60,6 +60,7 @@ struct audio_data {
|
||||
const void *data;
|
||||
uint32_t frames;
|
||||
uint64_t timestamp;
|
||||
float volume;
|
||||
};
|
||||
|
||||
struct audio_info {
|
||||
|
Reference in New Issue
Block a user