mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
cellAudio: use format instead of downmix
This commit is contained in:
parent
c42ff338e7
commit
72e1e242a3
15 changed files with 271 additions and 176 deletions
|
@ -201,7 +201,7 @@ struct cell_audio_config
|
|||
s64 time_stretching_threshold = 0;
|
||||
bool convert_to_s16 = false;
|
||||
bool dump_to_file = false;
|
||||
audio_downmix downmix = audio_downmix::downmix_to_stereo;
|
||||
audio_format format = audio_format::lpcm_2_48khz;
|
||||
audio_renderer renderer = audio_renderer::null;
|
||||
audio_provider provider = audio_provider::none;
|
||||
};
|
||||
|
@ -348,7 +348,7 @@ private:
|
|||
void reset_ports(s32 offset = 0);
|
||||
void advance(u64 timestamp);
|
||||
std::tuple<u32, u32, u32, u32> count_port_buffer_tags();
|
||||
template <audio_downmix downmix>
|
||||
template <AudioChannelCnt downmix>
|
||||
void mix(float *out_buffer, s32 offset = 0);
|
||||
void finish_port_volume_stepping();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue