app: edit per-application volume in the audio tab
Each configured source gets a slider that sends updateAudioSource as it moves, so a change is heard while dragging. The demo data now includes two application sources and a microphone, which the screenshots use. Also look the game up by recording id in the review screen, so a refresh that adds a recording does not change what is open.
This commit is contained in:
1 parent
0377141e4f
commit
8883e93d2b
5 files changed
+85
-14
No files matched your search
+1
-5
@@ -39,10 +39,7 @@ pub enum Command {
|
||||
GetEncoders,
|
||||
GetAudioDevices,
|
||||
AddAudioSource,
|
||||
RemoveAudioSource {
|
||||
id: String,
|
||||
},
|
||||
#[allow(dead_code)]
|
||||
RemoveAudioSource { id: String },
|
||||
UpdateAudioSource,
|
||||
StartRecording,
|
||||
StopRecording,
|
||||
@@ -376,7 +373,6 @@ impl Daemon {
|
||||
);
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn update_audio_source(&self, source: Value) {
|
||||
self.send(
|
||||
Request::UpdateAudioSource,
|
||||
|
||||
Reference in new issue
Block a user