aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/audio
AgeCommit message (Collapse)Author
2018-08-13audout_u: Correct IAudioOut initializer list orderLioncash
Orders elements in the precise order they'll be initialized.
2018-08-12Merge pull request #1035 from ogniK5377/audio-dev-revision-infobunnei
GetAudioDeviceServiceWithRevisionInfo (Used by Bloodstained: Curse of the Moon)
2018-08-12GetAudioDeviceServiceWithRevisionInfoDavid Marcec
As we're not handling any anything about the revision data for GetAudioDeviceServiceWithRevisionInfo, it's currently marked as stubbed. However for games this shouldn't affect the result. Proper revision info would be more for homebrew.
2018-08-12Pushed the requested sample rate instead of our fixed sample rateDavid Marcec
2018-08-12Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & ↵David Marcec
GetAudioRendererMixBufferCount GetAudioRendererSampleRate is set as a "STUB" as a game could check if the sample rate it sent and the sample rate it wants don't match. Just a thought of something which could happen so keeping it as stub for the mean time
2018-08-06Service/Audio: audout_a.cpp: remove pragma oncemailwl
2018-08-05Merge pull request #925 from bunnei/audrenbunnei
Implement audren audio output
2018-08-04audio_core: Implement audren_u audio playback.bunnei
2018-08-04audio_core: Use s16 where possible for audio samples.bunnei
2018-08-04audio_core: Port codec code from Citra for ADPCM decoding.bunnei
2018-08-04service: Remove redundant #pragma once directivesLioncash
These don't do anything within .cpp files (we don't include cpp files, so...)
2018-08-04audio_core: Streams need unique names for CoreTiming.bunnei
2018-07-31Merge pull request #880 from lioncash/audiobunnei
service/audio: Add missing services
2018-07-31service/audio: Add missing servicesLioncash
Adds the missing audctl service, as well as the :a and :d services for audin, audout, audrec, and audren.
2018-07-31audout_u: Remove std::move in OpenAudioOutImpl()Lioncash
Previously the code was using the values from params further below after it was std::moved. Thankfully, given AudoutParams is a trivially copyable struct, the values would have simply been copied in this instance and not invalidated to garbage values.
2018-07-30audio_core: Move to audout_u impl.bunnei
- This is necessary so streams are created on the same thread.
2018-07-30Implemented various hwopus functions (#853)David
2018-07-27audout: Implement IAudioOut interface with AudioCore.bunnei
2018-07-24core_timing: Split off utility functions into core_timing_utilMerryMage
2018-07-19audren_u: Use a std::array instead of std::string for holding the audio ↵Lioncash
interface/device name std::string doesn't include the null-terminator in its data() + size() range. This ensures that the null-terminator will also be written to the buffer
2018-07-19audout_u: Use a std::array instead of std::string for holding the audio ↵Lioncash
interface name Uses a type that doesn't potentially dynamically allocate, and ensures that the name of the interface is properly null-terminated when writing it to the buffer.
2018-07-19Merge pull request #726 from lioncash/overloadbunnei
hle_ipc: Introduce generic WriteBuffer overload for multiple container types
2018-07-19hle_ipc: Introduce generic WriteBuffer overload for multiple container typesLioncash
This introduces a slightly more generic variant of WriteBuffer(). Notably, this variant doesn't constrain the arguments to only accepting std::vector instances. It accepts whatever adheres to the ContiguousContainer concept in the C++ standard library. This essentially means, std::array, std::string, and std::vector can be used directly with this interface. The interface no longer forces you to solely use containers that dynamically allocate. To ensure our overloads play nice with one another, we only enable the container-based WriteBuffer if the argument is not a pointer, otherwise we fall back to the pointer-based one.
2018-07-19hle/service: Make constructors explicit where applicableLioncash
Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
2018-07-13We only need to alert for memory pool changesDavid Marcec
2018-07-13initialized voice status and unused sizes in the update data headerDavid Marcec
2018-07-12Audout "Auto" functionsDavid Marcec
Audout autos are identical to their counterpart except for the buffer type which yuzu already handles for us.
2018-07-03Update AudioRenderer Voice Sections (#614)David
* voice section updating * fixed slight offset miscalculation * fixed overflow
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-06-27Merge pull request #588 from mailwl/hwopusbunnei
Service/Audio: add hwopus service, stub GetWorkBufferSize function
2018-06-25Send the correct RequestUpdateAudioRenderer revision in the output header (#587)David
* We should be returning our revision instead of what is requested. Hardware test on a 5.1.0 console * Added sysversion comment
2018-06-25Service/Audio: add hwopus service, stub GetWorkBufferSize functionmailwl
2018-06-23Removed duplicate structs, changed AudioRendererResponse -> UpdateDataHeader ↵David
(#583) * Removed duplicate structs, changed AudioRendererResponse -> UpdateDataHeader According to game symbols(SMO), there's references to UpdateDataHeader which seems to be what AudioRendererResponse actually is * oops * AudioRendererParameters should be AudioRendererParameter according to SMO
2018-06-22Fixed RequestUpdateAudioRenderer deadlocks and calculated section sizes ↵David
properly (#580) * Fixed RequestUpdateAudioRenderer deadlocks and calculated section sizes properly This fixes RequestUpdateAudioRenderer deadlocks in games like Puyo Puyo Tetris and games which require a proper section size in games such as Retro City Rampage. This fixes causes various games to start rendering or trying to render
2018-06-21Service/Audio: update audren:u servicemailwl
2018-06-20Build: Fixed some MSVC warnings in various parts of the code.Subv
2018-05-25GetAudioRendererWorkBufferSize impl (#465)David
* GetAudioRendererWorkBufferSize impl Impl of GetAudioRendererWorkBufferSize based on RE, if this can be cleaned up, please contribute! * Naming conventions * Removed unneeded placeholder * lioncache changes * fixed const * switched to Common::AlignUp
2018-05-20Correct audio command numbers & add or rename some functions (#455)greggameplayer
* Add unknown function at the number command 2 * correct audout:u commands numbers * correct audrec:u cmd number & add Unknown function * correct IAudioDevice command numbers * correct codecctl cmd numbers & rename the 8 function * correct place of unknown function & fix clang-format
2018-04-30core_timing: Namespace all functions and constants in core_timing's headerLioncash
All of these variables and functions are related to timings and should be within the namespace.
2018-04-26Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-implDavid Marcec
2018-04-24audio: Move logging macros over to new fmt-compatible onesLioncash
2018-04-22GetIUserInterface->CreateUserInterface, Added todos and stub logs. ↵David Marcec
Playreport->PlayReport.
2018-04-21Implemented GetIUserInterface properly, Playreport and ↵David Marcec
SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids)
2018-04-19service: Use nested namespace specifiers where applicableLioncash
Tidies up namespace declarations
2018-04-10Decimal changeHexagon12
2018-04-10Updated CodecCtl with more service names.Hexagon12
2018-04-10Updated audren with more service names.Hexagon12
2018-04-10Updated audrec with more service names.Hexagon12
2018-04-10Updated audout with more service names.Hexagon12
2018-04-10Updated audin with more service names.Hexagon12