Skip to content

Commit adf31ef

Browse files
committed
feat: update sasa and audio config for ohos
1 parent 8ce462f commit adf31ef

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ phira-mp-common = { git = "https://github.com/TeamFlos/phira-mp", rev = "6967475
5454
prpr = { path = "prpr", default-features = false }
5555
prpr-avc = { path = "prpr-avc" }
5656
prpr-l10n = { path = "prpr-l10n" }
57-
sasa = { git = "https://github.com/Mivik/sasa", rev = "5c110595bd0a1f0d299602c4ab85fe3e349addc7", default-features = false }
57+
sasa = { git = "https://github.com/Mivik/sasa", rev = "63d019c54466589bdb9b35da01ae97a2e7a35328", default-features = false }
5858

5959
[profile.release]
6060
opt-level = 2

prpr/src/ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ pub fn create_audio_manger(config: &Config) -> Result<AudioManager> {
404404
{
405405
use sasa::backend::ohos::*;
406406
AudioManager::new(OhosBackend::new(OhosSettings {
407-
buffer_size: Some(512),
407+
buffer_size: Some(240),
408408
sample_rate: Some(48000),
409409
channels: 2,
410410
}))

prpr/src/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ fn build_audio() -> AudioManager {
11971197
{
11981198
use sasa::backend::ohos::*;
11991199
AudioManager::new(OhosBackend::new(OhosSettings {
1200-
buffer_size: Some(512),
1200+
buffer_size: Some(240),
12011201
sample_rate: Some(48000),
12021202
channels: 2,
12031203
}))

0 commit comments

Comments
 (0)