diff options
author | mailwl <mailwl@gmail.com> | 2016-11-25 07:36:45 +0100 |
---|---|---|
committer | mailwl <mailwl@gmail.com> | 2016-11-25 07:37:20 +0100 |
commit | ec15e485c9cbb6ba53b65be055aae9c41b024358 (patch) | |
tree | b90f9c8b10e6c18f93f48f65cd52956969c378f0 /src | |
parent | MIC_U: Stub service funcions (diff) | |
download | yuzu-ec15e485c9cbb6ba53b65be055aae9c41b024358.tar yuzu-ec15e485c9cbb6ba53b65be055aae9c41b024358.tar.gz yuzu-ec15e485c9cbb6ba53b65be055aae9c41b024358.tar.bz2 yuzu-ec15e485c9cbb6ba53b65be055aae9c41b024358.tar.lz yuzu-ec15e485c9cbb6ba53b65be055aae9c41b024358.tar.xz yuzu-ec15e485c9cbb6ba53b65be055aae9c41b024358.tar.zst yuzu-ec15e485c9cbb6ba53b65be055aae9c41b024358.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/mic_u.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/mic_u.cpp b/src/core/hle/service/mic_u.cpp index 3e1e2588c..563341504 100644 --- a/src/core/hle/service/mic_u.cpp +++ b/src/core/hle/service/mic_u.cpp @@ -98,7 +98,9 @@ static void StartSampling(Service::Interface* self) { cmd_buff[1] = RESULT_SUCCESS.raw; // No error is_sampling = true; - LOG_WARNING(Service_MIC, "(STUBBED) called"); + LOG_WARNING(Service_MIC, "(STUBBED) called, encoding=%u, sample_rate=%u, " + "audio_buffer_offset=%d, audio_buffer_size=%u, audio_buffer_loop=%u", + encoding, sample_rate, audio_buffer_offset, audio_buffer_size, audio_buffer_loop); } /** @@ -113,7 +115,7 @@ static void AdjustSampling(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); sample_rate = static_cast<SampleRate>(cmd_buff[1] & 0xFF); cmd_buff[1] = RESULT_SUCCESS.raw; // No error - LOG_WARNING(Service_MIC, "(STUBBED) called"); + LOG_WARNING(Service_MIC, "(STUBBED) called, sample_rate=%u", sample_rate); } /** @@ -172,7 +174,7 @@ static void SetGain(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); mic_gain = cmd_buff[1] & 0xFF; cmd_buff[1] = RESULT_SUCCESS.raw; // No error - LOG_WARNING(Service_MIC, "(STUBBED) called, gain = %d", mic_gain); + LOG_WARNING(Service_MIC, "(STUBBED) called, mic_gain=%u", mic_gain); } /** @@ -202,7 +204,7 @@ static void SetPower(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); mic_power = static_cast<bool>(cmd_buff[1] & 0xFF); cmd_buff[1] = RESULT_SUCCESS.raw; // No error - LOG_WARNING(Service_MIC, "(STUBBED) called, power = %u", mic_power); + LOG_WARNING(Service_MIC, "(STUBBED) called, mic_power=%u", mic_power); } /** |