recording: cleanup audio config members

and fix some annyoing msvc warnings
This commit is contained in:
Megamouse 2023-11-16 00:18:35 +01:00
parent 49f910a56b
commit ff434f9d38
7 changed files with 16 additions and 14 deletions

View file

@ -223,8 +223,8 @@ struct cell_audio_config
AudioChannelCnt audio_downmix = AudioChannelCnt::SURROUND_7_1;
AudioChannelCnt backend_ch_cnt = AudioChannelCnt::SURROUND_7_1;
u32 audio_channels = 0;
u32 audio_sampling_rate = 0;
u32 audio_channels = 2;
u32 audio_sampling_rate = DEFAULT_AUDIO_SAMPLING_RATE;
u32 audio_block_period = 0;
u32 audio_sample_size = 0;
f64 audio_min_buffer_duration = 0.0;