fix: apply audio volumes, enumerate real devices, remove dead code
- Audio sources were created but never added to the scene, so mic, game and app audio never reached the output; all sources are now added with their configured volume via obs_source_set_volume - getAudioDevices enumerates real WASAPI devices again instead of returning hardcoded defaults (the crash-isolation bypass) - Recording module split: encoder selection and output building move to their own files; obs_context shrinks from 1556 to 464 lines - Remove unused IPC (recordings/timeline/export commands), the CommandHandler trait, crash marker files, and the stats plumbing that was never wired to the frontend - Deduplicate the LCU reconnect logic into connect_and_listen
This commit is contained in:
1 parent
4f9f84446d
commit
2e98159083
15 files changed
+457
-2662
No files matched your search
@@ -251,20 +251,12 @@ impl AudioSourceConfig {
|
||||
|
||||
/// Create a Discord audio source.
|
||||
pub fn discord() -> Self {
|
||||
Self::new(
|
||||
"Discord",
|
||||
AudioSourceType::Application,
|
||||
"Discord.exe",
|
||||
)
|
||||
Self::new("Discord", AudioSourceType::Application, "Discord.exe")
|
||||
}
|
||||
|
||||
/// Create a Spotify audio source.
|
||||
pub fn spotify() -> Self {
|
||||
Self::new(
|
||||
"Spotify",
|
||||
AudioSourceType::Application,
|
||||
"Spotify.exe",
|
||||
)
|
||||
Self::new("Spotify", AudioSourceType::Application, "Spotify.exe")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -90,13 +90,6 @@ pub struct OutputSettings {
|
||||
pub split_time_minutes: u32,
|
||||
}
|
||||
|
||||
impl OutputSettings {
|
||||
/// Get the output format enum for this container.
|
||||
pub fn output_format(&self) -> crate::recording::OutputFormat {
|
||||
crate::recording::OutputFormat::from(self.container.as_str())
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for OutputSettings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
|
||||
Reference in new issue
Block a user