summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audren_u: Use a std::array instead of std::string for holding the audio interface/device nameLioncash2018-07-201-2/+4
| | | | | 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
* audout_u: Use a std::array instead of std::string for holding the audio interface nameLioncash2018-07-201-1/+2
| | | | | | 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.
* Merge pull request #726 from lioncash/overloadbunnei2018-07-202-3/+3
|\ | | | | hle_ipc: Introduce generic WriteBuffer overload for multiple container types
| * hle_ipc: Introduce generic WriteBuffer overload for multiple container typesLioncash2018-07-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | hle/service: Make constructors explicit where applicableLioncash2018-07-191-2/+2
|/ | | | | Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
* We only need to alert for memory pool changesDavid Marcec2018-07-131-2/+0
|
* initialized voice status and unused sizes in the update data headerDavid Marcec2018-07-131-1/+3
|
* Audout "Auto" functionsDavid Marcec2018-07-122-14/+14
| | | | Audout autos are identical to their counterpart except for the buffer type which yuzu already handles for us.
* Update AudioRenderer Voice Sections (#614)David2018-07-031-0/+87
| | | | | | | | * voice section updating * fixed slight offset miscalculation * fixed overflow
* Rename logging macro back to LOG_*James Rowe2018-07-033-21/+21
|
* Merge pull request #588 from mailwl/hwopusbunnei2018-06-283-0/+51
|\ | | | | Service/Audio: add hwopus service, stub GetWorkBufferSize function
| * Service/Audio: add hwopus service, stub GetWorkBufferSize functionmailwl2018-06-253-0/+51
| |
* | Send the correct RequestUpdateAudioRenderer revision in the output header (#587)David2018-06-251-1/+1
|/ | | | | | | | * We should be returning our revision instead of what is requested. Hardware test on a 5.1.0 console * Added sysversion comment
* Removed duplicate structs, changed AudioRendererResponse -> UpdateDataHeader (#583)David2018-06-242-34/+21
| | | | | | | | | | * 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
* Fixed RequestUpdateAudioRenderer deadlocks and calculated section sizes properly (#580)David2018-06-232-44/+76
| | | | | * 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
* Service/Audio: update audren:u servicemailwl2018-06-212-49/+60
|
* Build: Fixed some MSVC warnings in various parts of the code.Subv2018-06-201-1/+1
|
* GetAudioRendererWorkBufferSize impl (#465)David2018-05-262-2/+88
| | | | | | | | | | | | | | | | * 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
* Correct audio command numbers & add or rename some functions (#455)greggameplayer2018-05-215-34/+34
| | | | | | | | | | | | | | * 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
* core_timing: Namespace all functions and constants in core_timing's headerLioncash2018-04-302-2/+2
| | | | All of these variables and functions are related to timings and should be within the namespace.
* Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-implDavid Marcec2018-04-262-21/+21
|\
| * audio: Move logging macros over to new fmt-compatible onesLioncash2018-04-242-21/+21
| |
* | GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport.David Marcec2018-04-231-5/+3
| |
* | Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids)David Marcec2018-04-221-6/+9
|/
* service: Use nested namespace specifiers where applicableLioncash2018-04-2012-48/+24
| | | | Tidies up namespace declarations
* Decimal changeHexagon122018-04-101-4/+4
|
* Updated CodecCtl with more service names.Hexagon122018-04-101-3/+3
|
* Updated audren with more service names.Hexagon122018-04-101-10/+14
|
* Updated audrec with more service names.Hexagon122018-04-101-7/+9
|
* Updated audout with more service names.Hexagon122018-04-101-13/+16
|
* Updated audin with more service names.Hexagon122018-04-101-9/+16
|
* audren_u: Stub out GetActiveAudioDeviceName.bunnei2018-04-031-1/+13
|
* audout_u: Implement GetAudioOutState.bunnei2018-04-031-1/+8
|
* audren_u: Stub QueryAudioDeviceSystemEvent and GetActiveChannelCount.bunnei2018-03-301-8/+36
|
* audren_u: Fix GetAudioDevice.bunnei2018-03-252-7/+48
|
* CoreTiming: Unschedule the pending events when an Interface is destroyed.Subv2018-03-042-2/+6
|
* Stub more functionsmailwl2018-02-221-2/+2
|
* Service/hid: stub some functionsmailwl2018-02-161-1/+2
|
* audio: Use WriteBuffer instead of BufferDescriptorB.bunnei2018-02-142-9/+3
|
* audren_u: Schedule reoccuring event. (#183)bunnei2018-02-142-6/+36
| | | | | | * audren_u: Schedule reoccuring event. * audren_u: Stub GetAudioRenderersProcessMasterVolume, and misc. changes.
* Add RequestUpdateAudioRenderer, StartAudioRenderer and StopAudioRenderer stubs to audren:ugdkchan2018-02-121-2/+76
|
* Service: stub some functions in am, audio, time, vi servicesmailwl2018-02-072-4/+51
|
* audout_u: Various cleanups.bunnei2018-01-251-29/+17
|
* hle: Rename RequestBuilder to ResponseBuilder.bunnei2018-01-251-7/+7
|
* service: Fix all incorrect IPC response headers.bunnei2018-01-251-1/+1
|
* audout:u OpenAudioOut and IAudioOut (#138)st4rk2018-01-252-14/+166
| | | | | | | | | | | | | | | | | | | | | | * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * audout:u OpenAudioOut implementation and IAudioOut cmd 1,2,3,4,5 implementation * using an enum for audio_out_state as well as changing its initialize to member initializer list * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * added missing Audio loggin subclass, minor fixes, clang comment breakline * Solving backend logging conflict * minor fix * Fixed duplicated Service NVDRV in backend.cpp, my bad
* Stub OpenAudioOut and fix a issue with HID IAppletResource being created more than oncegdkchan2018-01-222-1/+15
|
* Added stubs for audio services. (#116)st4rk2018-01-2211-5/+299
| | | | | | * stubs for audout:u, audin:u, audrec:u, audren:u, codecctl and decoding tables with nullptr for future implementations * fixing the changes requested (remove private, explicit)
* audio: Add files to CMake.bunnei2018-01-151-1/+0
|
* audio: Stub out AudOutU::ListAudioOuts.bunnei2018-01-154-0/+82