{"action":"created","comment":{"url":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/comments/205921831","pull_request_review_id":141295566,"id":205921831,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTkyMTgzMQ==","diff_hunk":"@@ -5,195 +5,201 @@\n #include <array>\n #include <vector>\n #include \"common/logging/log.h\"\n-#include \"core/core_timing.h\"\n-#include \"core/core_timing_util.h\"\n+#include \"core/core.h\"\n #include \"core/hle/ipc_helpers.h\"\n #include \"core/hle/kernel/event.h\"\n #include \"core/hle/kernel/hle_ipc.h\"\n #include \"core/hle/service/audio/audout_u.h\"\n \n namespace Service::Audio {\n \n-/// Switch sample rate frequency\n-constexpr u32 sample_rate{48000};\n-/// TODO(st4rk): dynamic number of channels, as I think Switch has support\n-/// to more audio channels (probably when Docked I guess)\n-constexpr u32 audio_channels{2};\n-/// TODO(st4rk): find a proper value for the audio_ticks\n-constexpr u64 audio_ticks{static_cast<u64>(CoreTiming::BASE_CLOCK_RATE / 500)};\n-\n class IAudioOut final : public ServiceFramework<IAudioOut> {\n public:\n-    IAudioOut() : ServiceFramework(\"IAudioOut\"), audio_out_state(AudioState::Stopped) {\n+    IAudioOut(AudoutParams audio_params)\n+        : ServiceFramework(\"IAudioOut\"), audio_params(audio_params),\n+          audio_core(Core::System::GetInstance().AudioCore()) {\n+\n         static const FunctionInfo functions[] = {\n             {0, &IAudioOut::GetAudioOutState, \"GetAudioOutState\"},\n             {1, &IAudioOut::StartAudioOut, \"StartAudioOut\"},\n             {2, &IAudioOut::StopAudioOut, \"StopAudioOut\"},\n             {3, &IAudioOut::AppendAudioOutBufferImpl, \"AppendAudioOutBuffer\"},\n             {4, &IAudioOut::RegisterBufferEvent, \"RegisterBufferEvent\"},\n             {5, &IAudioOut::GetReleasedAudioOutBufferImpl, \"GetReleasedAudioOutBuffer\"},\n-            {6, nullptr, \"ContainsAudioOutBuffer\"},\n+            {6, &IAudioOut::ContainsAudioOutBuffer, \"ContainsAudioOutBuffer\"},\n             {7, &IAudioOut::AppendAudioOutBufferImpl, \"AppendAudioOutBufferAuto\"},\n             {8, &IAudioOut::GetReleasedAudioOutBufferImpl, \"GetReleasedAudioOutBufferAuto\"},\n-            {9, nullptr, \"GetAudioOutBufferCount\"},\n+            {9, &IAudioOut::GetAudioOutBufferCount, \"GetAudioOutBufferCount\"},\n             {10, nullptr, \"GetAudioOutPlayedSampleCount\"},\n             {11, nullptr, \"FlushAudioOutBuffers\"},\n         };\n         RegisterHandlers(functions);\n \n         // This is the event handle used to check if the audio buffer was released\n-        buffer_event =\n-            Kernel::Event::Create(Kernel::ResetType::OneShot, \"IAudioOutBufferReleasedEvent\");\n-\n-        // Register event callback to update the Audio Buffer\n-        audio_event = CoreTiming::RegisterEvent(\n-            \"IAudioOut::UpdateAudioBuffersCallback\", [this](u64 userdata, int cycles_late) {\n-                UpdateAudioBuffersCallback();\n-                CoreTiming::ScheduleEvent(audio_ticks - cycles_late, audio_event);\n-            });\n-\n-        // Start the audio event\n-        CoreTiming::ScheduleEvent(audio_ticks, audio_event);\n-    }\n+        buffer_event = Kernel::Event::Create(Kernel::ResetType::Sticky, \"IAudioOutBufferReleased\");\n \n-    ~IAudioOut() {\n-        CoreTiming::UnscheduleEvent(audio_event, 0);\n+        stream = audio_core.OpenStream(audio_params.sample_rate, audio_params.channel_count,\n+                                       [=]() { buffer_event->Signal(); });\n     }\n \n private:\n+    struct AudioBuffer {\n+        u64_le next;\n+        u64_le buffer;\n+        u64_le buffer_capacity;\n+        u64_le buffer_size;\n+        u64_le offset;\n+    };\n+    static_assert(sizeof(AudioBuffer) == 0x28, \"AudioBuffer is an invalid size\");\n+\n     void GetAudioOutState(Kernel::HLERequestContext& ctx) {\n         LOG_DEBUG(Service_Audio, \"called\");\n         IPC::ResponseBuilder rb{ctx, 3};\n         rb.Push(RESULT_SUCCESS);\n-        rb.Push(static_cast<u32>(audio_out_state));\n+        rb.Push(static_cast<u32>(stream->IsPlaying() ? AudioState::Started : AudioState::Stopped));\n     }\n \n     void StartAudioOut(Kernel::HLERequestContext& ctx) {\n-        LOG_WARNING(Service_Audio, \"(STUBBED) called\");\n+        LOG_DEBUG(Service_Audio, \"called\");\n \n-        // Start audio\n-        audio_out_state = AudioState::Started;\n+        if (stream->IsPlaying()) {\n+            IPC::ResponseBuilder rb{ctx, 2};\n+            rb.Push(ResultCode(ErrorModule::Audio, 2));\n+            return;\n+        }\n+\n+        audio_core.StartStream(stream);\n \n         IPC::ResponseBuilder rb{ctx, 2};\n         rb.Push(RESULT_SUCCESS);\n     }\n \n     void StopAudioOut(Kernel::HLERequestContext& ctx) {\n-        LOG_WARNING(Service_Audio, \"(STUBBED) called\");\n-\n-        // Stop audio\n-        audio_out_state = AudioState::Stopped;\n+        LOG_DEBUG(Service_Audio, \"called\");\n \n-        queue_keys.clear();\n+        audio_core.StopStream(stream);\n \n         IPC::ResponseBuilder rb{ctx, 2};\n         rb.Push(RESULT_SUCCESS);\n     }\n \n     void RegisterBufferEvent(Kernel::HLERequestContext& ctx) {\n-        LOG_WARNING(Service_Audio, \"(STUBBED) called\");\n+        LOG_DEBUG(Service_Audio, \"called\");\n \n         IPC::ResponseBuilder rb{ctx, 2, 1};\n         rb.Push(RESULT_SUCCESS);\n         rb.PushCopyObjects(buffer_event);\n     }\n \n     void AppendAudioOutBufferImpl(Kernel::HLERequestContext& ctx) {\n-        LOG_WARNING(Service_Audio, \"(STUBBED) called\");\n+        LOG_DEBUG(Service_Audio, \"(STUBBED) called {}\", ctx.Description());\n         IPC::RequestParser rp{ctx};\n \n-        const u64 key{rp.Pop<u64>()};\n-        queue_keys.insert(queue_keys.begin(), key);\n+        const auto& input_buffer{ctx.ReadBuffer()};\n+        ASSERT_MSG(input_buffer.size() == sizeof(AudioBuffer),\n+                   \"AudioBuffer input is an invalid size!\");\n+        AudioBuffer audio_buffer{};\n+        std::memcpy(&audio_buffer, input_buffer.data(), sizeof(AudioBuffer));\n+        const u64 tag{rp.Pop<u64>()};\n+\n+        std::vector<u8> data;\n+        data.resize(audio_buffer.buffer_size);\n+        Memory::ReadBlock(audio_buffer.buffer, data.data(), data.size());\n+\n+        if (!audio_core.QueueBuffer(stream, tag, std::move(data))) {\n+            IPC::ResponseBuilder rb{ctx, 2};\n+            rb.Push(ResultCode(ErrorModule::Audio, 8));\n+        }\n \n         IPC::ResponseBuilder rb{ctx, 2};\n         rb.Push(RESULT_SUCCESS);\n     }\n \n     void GetReleasedAudioOutBufferImpl(Kernel::HLERequestContext& ctx) {\n-        LOG_WARNING(Service_Audio, \"(STUBBED) called\");\n-\n-        // TODO(st4rk): This is how libtransistor currently implements the\n-        // GetReleasedAudioOutBuffer, it should return the key (a VAddr) to the app and this address\n-        // is used to know which buffer should be filled with data and send again to the service\n-        // through AppendAudioOutBuffer. Check if this is the proper way to do it.\n-        u64 key{0};\n-\n-        if (queue_keys.size()) {\n-            key = queue_keys.back();\n-            queue_keys.pop_back();\n+        LOG_DEBUG(Service_Audio, \"called {}\", ctx.Description());\n+        IPC::RequestParser rp{ctx};\n+        const u64 max_count{ctx.GetWriteBufferSize() / sizeof(u64)};\n+        const auto released_buffers{audio_core.GetReleasedBuffers(stream, max_count)};\n+\n+        std::vector<u64> tags;\n+        for (size_t index{}; index < max_count; ++index) {\n+            u64 tag{};\n+            if (index < released_buffers.size()) {\n+                tag = released_buffers[index];\n+            }\n+            tags.push_back(tag);\n         }\n-\n-        ctx.WriteBuffer(&key, sizeof(u64));\n+        ctx.WriteBuffer(tags);\n \n         IPC::ResponseBuilder rb{ctx, 3};\n         rb.Push(RESULT_SUCCESS);\n-        // TODO(st4rk): This might be the total of released buffers, needs to be verified on\n-        // hardware\n-        rb.Push<u32>(static_cast<u32>(queue_keys.size()));\n+        rb.Push<u32>(static_cast<u32>(released_buffers.size()));\n     }\n \n-    void UpdateAudioBuffersCallback() {\n-        if (audio_out_state != AudioState::Started) {\n-            return;\n-        }\n-\n-        if (queue_keys.empty()) {\n-            return;\n-        }\n+    void ContainsAudioOutBuffer(Kernel::HLERequestContext& ctx) {\n+        LOG_DEBUG(Service_Audio, \"called\");\n+        IPC::RequestParser rp{ctx};\n+        const u64 tag{rp.Pop<u64>()};\n+        IPC::ResponseBuilder rb{ctx, 3};\n+        rb.Push(RESULT_SUCCESS);\n+        rb.Push(stream->ContainsBuffer(tag));\n+    }\n \n-        buffer_event->Signal();\n+    void GetAudioOutBufferCount(Kernel::HLERequestContext& ctx) {\n+        LOG_DEBUG(Service_Audio, \"called\");\n+        IPC::ResponseBuilder rb{ctx, 3};\n+        rb.Push(RESULT_SUCCESS);\n+        rb.Push(static_cast<u32>(stream->GetQueueSize()));\n     }\n \n-    enum class AudioState : u32 {\n-        Started,\n-        Stopped,\n-    };\n+    AudioCore::AudioOut& audio_core;\n+    AudioCore::StreamPtr stream;\n \n-    /// This is used to trigger the audio event callback that is going to read the samples from the\n-    /// audio_buffer list and enqueue the samples using the sink (audio_core).\n-    CoreTiming::EventType* audio_event;\n+    AudoutParams audio_params{};\n \n     /// This is the evend handle used to check if the audio buffer was released\n     Kernel::SharedPtr<Kernel::Event> buffer_event;\n-\n-    /// (st4rk): This is just a temporary workaround for the future implementation. Libtransistor\n-    /// uses the key as an address in the App, so we need to return when the\n-    /// GetReleasedAudioOutBuffer_1 is called, otherwise we'll run in problems, because\n-    /// libtransistor uses the key returned as an pointer.\n-    std::vector<u64> queue_keys;\n-\n-    AudioState audio_out_state;\n };\n \n void AudOutU::ListAudioOutsImpl(Kernel::HLERequestContext& ctx) {\n-    LOG_WARNING(Service_Audio, \"(STUBBED) called\");\n+    LOG_DEBUG(Service_Audio, \"called\");\n     IPC::RequestParser rp{ctx};\n \n-    constexpr std::array<char, 15> audio_interface{{\"AudioInterface\"}};\n-    ctx.WriteBuffer(audio_interface);\n+    ctx.WriteBuffer(DefaultDevice);\n \n     IPC::ResponseBuilder rb = rp.MakeBuilder(3, 0, 0);\n \n     rb.Push(RESULT_SUCCESS);\n-    // TODO(st4rk): We're currently returning only one audio interface (stringlist size). However,\n-    // it's highly possible to have more than one interface (despite that libtransistor requires\n-    // only one).\n-    rb.Push<u32>(1);\n+    rb.Push<u32>(1); // Amount of audio devices\n }\n \n void AudOutU::OpenAudioOutImpl(Kernel::HLERequestContext& ctx) {\n-    LOG_WARNING(Service_Audio, \"(STUBBED) called\");\n+    LOG_DEBUG(Service_Audio, \"called\");\n \n-    if (!audio_out_interface) {\n-        audio_out_interface = std::make_shared<IAudioOut>();\n+    ctx.WriteBuffer(DefaultDevice);\n+    IPC::RequestParser rp{ctx};\n+    auto params{rp.PopRaw<AudoutParams>()};\n+    if (params.channel_count <= 2) {\n+        // Mono does not exist for audout\n+        params.channel_count = 2;\n+    } else {\n+        params.channel_count = 6;\n     }\n+    if (!params.sample_rate) {\n+        params.sample_rate = DefaultSampleRate;","path":"src/core/hle/service/audio/audout_u.cpp","position":276,"original_position":276,"commit_id":"ea307c8baad4bd5a9354cac4a7f8f6621811410f","original_commit_id":"ea307c8baad4bd5a9354cac4a7f8f6621811410f","user":{"login":"gdkchan","id":5624669,"node_id":"MDQ6VXNlcjU2MjQ2Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/5624669?v=4","gravatar_id":"","url":"https://api.github.com/users/gdkchan","html_url":"https://github.com/gdkchan","followers_url":"https://api.github.com/users/gdkchan/followers","following_url":"https://api.github.com/users/gdkchan/following{/other_user}","gists_url":"https://api.github.com/users/gdkchan/gists{/gist_id}","starred_url":"https://api.github.com/users/gdkchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdkchan/subscriptions","organizations_url":"https://api.github.com/users/gdkchan/orgs","repos_url":"https://api.github.com/users/gdkchan/repos","events_url":"https://api.github.com/users/gdkchan/events{/privacy}","received_events_url":"https://api.github.com/users/gdkchan/received_events","type":"User","site_admin":false},"body":"Unused?","created_at":"2018-07-27T23:37:10Z","updated_at":"2018-07-27T23:37:10Z","html_url":"https://github.com/yuzu-emu/yuzu/pull/842#discussion_r205921831","pull_request_url":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/comments/205921831"},"html":{"href":"https://github.com/yuzu-emu/yuzu/pull/842#discussion_r205921831"},"pull_request":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842"}}},"pull_request":{"url":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842","id":204318360,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MzE4MzYw","html_url":"https://github.com/yuzu-emu/yuzu/pull/842","diff_url":"https://github.com/yuzu-emu/yuzu/pull/842.diff","patch_url":"https://github.com/yuzu-emu/yuzu/pull/842.patch","issue_url":"https://api.github.com/repos/yuzu-emu/yuzu/issues/842","number":842,"state":"open","locked":false,"title":"Initial implementation of Audio Core","user":{"login":"bunnei","id":6956688,"node_id":"MDQ6VXNlcjY5NTY2ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/6956688?v=4","gravatar_id":"","url":"https://api.github.com/users/bunnei","html_url":"https://github.com/bunnei","followers_url":"https://api.github.com/users/bunnei/followers","following_url":"https://api.github.com/users/bunnei/following{/other_user}","gists_url":"https://api.github.com/users/bunnei/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnei/subscriptions","organizations_url":"https://api.github.com/users/bunnei/orgs","repos_url":"https://api.github.com/users/bunnei/repos","events_url":"https://api.github.com/users/bunnei/events{/privacy}","received_events_url":"https://api.github.com/users/bunnei/received_events","type":"User","site_admin":false},"body":"Summary of changes:\r\n* Adds audio_core project for audio related things\r\n* Adds basic state management for audio streams and buffers\r\n* Hooks things up for `IAudioOut`\r\n* Other `IAudioOut` emulation improvements\r\n\r\nShould fix most games that had `audout` issues. Timing seems to be very sensitive. Due to our core timing being not very accurate, expect things that depend on `audout` timing to be janky (e.g. framerate in SnipperClips, cutscene video playback in One Piece, etc.). Thanks to @ogniK5377 for doing a lot of the initial work for this impl.\r\n\r\nSome things that now work:\r\n![image](https://user-images.githubusercontent.com/6956688/43299526-90c77516-9128-11e8-8c2c-552be76a7a7e.png)\r\n![image](https://user-images.githubusercontent.com/6956688/43299540-96acc184-9128-11e8-847d-2a442af3e6ab.png)\r\n![image](https://user-images.githubusercontent.com/6956688/43299561-a85e127a-9128-11e8-848b-ac4aaa9d9e2c.png)\r\n","created_at":"2018-07-27T03:08:24Z","updated_at":"2018-07-27T23:37:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9d5906e230a924b9ff1afa603736b567775dd49","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":808285581,"node_id":"MDU6TGFiZWw4MDgyODU1ODE=","url":"https://api.github.com/repos/yuzu-emu/yuzu/labels/canary-merge","name":"canary-merge","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842/commits","review_comments_url":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842/comments","review_comment_url":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuzu-emu/yuzu/issues/842/comments","statuses_url":"https://api.github.com/repos/yuzu-emu/yuzu/statuses/ea307c8baad4bd5a9354cac4a7f8f6621811410f","head":{"label":"bunnei:audio-core","ref":"audio-core","sha":"ea307c8baad4bd5a9354cac4a7f8f6621811410f","user":{"login":"bunnei","id":6956688,"node_id":"MDQ6VXNlcjY5NTY2ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/6956688?v=4","gravatar_id":"","url":"https://api.github.com/users/bunnei","html_url":"https://github.com/bunnei","followers_url":"https://api.github.com/users/bunnei/followers","following_url":"https://api.github.com/users/bunnei/following{/other_user}","gists_url":"https://api.github.com/users/bunnei/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnei/subscriptions","organizations_url":"https://api.github.com/users/bunnei/orgs","repos_url":"https://api.github.com/users/bunnei/repos","events_url":"https://api.github.com/users/bunnei/events{/privacy}","received_events_url":"https://api.github.com/users/bunnei/received_events","type":"User","site_admin":false},"repo":{"id":117754911,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc3NTQ5MTE=","name":"yuzu","full_name":"bunnei/yuzu","owner":{"login":"bunnei","id":6956688,"node_id":"MDQ6VXNlcjY5NTY2ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/6956688?v=4","gravatar_id":"","url":"https://api.github.com/users/bunnei","html_url":"https://github.com/bunnei","followers_url":"https://api.github.com/users/bunnei/followers","following_url":"https://api.github.com/users/bunnei/following{/other_user}","gists_url":"https://api.github.com/users/bunnei/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnei/subscriptions","organizations_url":"https://api.github.com/users/bunnei/orgs","repos_url":"https://api.github.com/users/bunnei/repos","events_url":"https://api.github.com/users/bunnei/events{/privacy}","received_events_url":"https://api.github.com/users/bunnei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bunnei/yuzu","description":"Nintendo Switch Emulator","fork":true,"url":"https://api.github.com/repos/bunnei/yuzu","forks_url":"https://api.github.com/repos/bunnei/yuzu/forks","keys_url":"https://api.github.com/repos/bunnei/yuzu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bunnei/yuzu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bunnei/yuzu/teams","hooks_url":"https://api.github.com/repos/bunnei/yuzu/hooks","issue_events_url":"https://api.github.com/repos/bunnei/yuzu/issues/events{/number}","events_url":"https://api.github.com/repos/bunnei/yuzu/events","assignees_url":"https://api.github.com/repos/bunnei/yuzu/assignees{/user}","branches_url":"https://api.github.com/repos/bunnei/yuzu/branches{/branch}","tags_url":"https://api.github.com/repos/bunnei/yuzu/tags","blobs_url":"https://api.github.com/repos/bunnei/yuzu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bunnei/yuzu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bunnei/yuzu/git/refs{/sha}","trees_url":"https://api.github.com/repos/bunnei/yuzu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bunnei/yuzu/statuses/{sha}","languages_url":"https://api.github.com/repos/bunnei/yuzu/languages","stargazers_url":"https://api.github.com/repos/bunnei/yuzu/stargazers","contributors_url":"https://api.github.com/repos/bunnei/yuzu/contributors","subscribers_url":"https://api.github.com/repos/bunnei/yuzu/subscribers","subscription_url":"https://api.github.com/repos/bunnei/yuzu/subscription","commits_url":"https://api.github.com/repos/bunnei/yuzu/commits{/sha}","git_commits_url":"https://api.github.com/repos/bunnei/yuzu/git/commits{/sha}","comments_url":"https://api.github.com/repos/bunnei/yuzu/comments{/number}","issue_comment_url":"https://api.github.com/repos/bunnei/yuzu/issues/comments{/number}","contents_url":"https://api.github.com/repos/bunnei/yuzu/contents/{+path}","compare_url":"https://api.github.com/repos/bunnei/yuzu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bunnei/yuzu/merges","archive_url":"https://api.github.com/repos/bunnei/yuzu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bunnei/yuzu/downloads","issues_url":"https://api.github.com/repos/bunnei/yuzu/issues{/number}","pulls_url":"https://api.github.com/repos/bunnei/yuzu/pulls{/number}","milestones_url":"https://api.github.com/repos/bunnei/yuzu/milestones{/number}","notifications_url":"https://api.github.com/repos/bunnei/yuzu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bunnei/yuzu/labels{/name}","releases_url":"https://api.github.com/repos/bunnei/yuzu/releases{/id}","deployments_url":"https://api.github.com/repos/bunnei/yuzu/deployments","created_at":"2018-01-16T23:20:14Z","updated_at":"2018-07-22T11:03:28Z","pushed_at":"2018-07-27T03:43:46Z","git_url":"git://github.com/bunnei/yuzu.git","ssh_url":"git@github.com:bunnei/yuzu.git","clone_url":"https://github.com/bunnei/yuzu.git","svn_url":"https://github.com/bunnei/yuzu","homepage":"","size":19938,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"yuzu-emu:master","ref":"master","sha":"ec2b7cdb1d6cb9f42969b86e826fb1f85d43ce28","user":{"login":"yuzu-emu","id":35075882,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MDc1ODgy","avatar_url":"https://avatars1.githubusercontent.com/u/35075882?v=4","gravatar_id":"","url":"https://api.github.com/users/yuzu-emu","html_url":"https://github.com/yuzu-emu","followers_url":"https://api.github.com/users/yuzu-emu/followers","following_url":"https://api.github.com/users/yuzu-emu/following{/other_user}","gists_url":"https://api.github.com/users/yuzu-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzu-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzu-emu/subscriptions","organizations_url":"https://api.github.com/users/yuzu-emu/orgs","repos_url":"https://api.github.com/users/yuzu-emu/repos","events_url":"https://api.github.com/users/yuzu-emu/events{/privacy}","received_events_url":"https://api.github.com/users/yuzu-emu/received_events","type":"Organization","site_admin":false},"repo":{"id":116167731,"node_id":"MDEwOlJlcG9zaXRvcnkxMTYxNjc3MzE=","name":"yuzu","full_name":"yuzu-emu/yuzu","owner":{"login":"yuzu-emu","id":35075882,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MDc1ODgy","avatar_url":"https://avatars1.githubusercontent.com/u/35075882?v=4","gravatar_id":"","url":"https://api.github.com/users/yuzu-emu","html_url":"https://github.com/yuzu-emu","followers_url":"https://api.github.com/users/yuzu-emu/followers","following_url":"https://api.github.com/users/yuzu-emu/following{/other_user}","gists_url":"https://api.github.com/users/yuzu-emu/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzu-emu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzu-emu/subscriptions","organizations_url":"https://api.github.com/users/yuzu-emu/orgs","repos_url":"https://api.github.com/users/yuzu-emu/repos","events_url":"https://api.github.com/users/yuzu-emu/events{/privacy}","received_events_url":"https://api.github.com/users/yuzu-emu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yuzu-emu/yuzu","description":"Nintendo Switch Emulator","fork":false,"url":"https://api.github.com/repos/yuzu-emu/yuzu","forks_url":"https://api.github.com/repos/yuzu-emu/yuzu/forks","keys_url":"https://api.github.com/repos/yuzu-emu/yuzu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuzu-emu/yuzu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuzu-emu/yuzu/teams","hooks_url":"https://api.github.com/repos/yuzu-emu/yuzu/hooks","issue_events_url":"https://api.github.com/repos/yuzu-emu/yuzu/issues/events{/number}","events_url":"https://api.github.com/repos/yuzu-emu/yuzu/events","assignees_url":"https://api.github.com/repos/yuzu-emu/yuzu/assignees{/user}","branches_url":"https://api.github.com/repos/yuzu-emu/yuzu/branches{/branch}","tags_url":"https://api.github.com/repos/yuzu-emu/yuzu/tags","blobs_url":"https://api.github.com/repos/yuzu-emu/yuzu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuzu-emu/yuzu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuzu-emu/yuzu/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuzu-emu/yuzu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuzu-emu/yuzu/statuses/{sha}","languages_url":"https://api.github.com/repos/yuzu-emu/yuzu/languages","stargazers_url":"https://api.github.com/repos/yuzu-emu/yuzu/stargazers","contributors_url":"https://api.github.com/repos/yuzu-emu/yuzu/contributors","subscribers_url":"https://api.github.com/repos/yuzu-emu/yuzu/subscribers","subscription_url":"https://api.github.com/repos/yuzu-emu/yuzu/subscription","commits_url":"https://api.github.com/repos/yuzu-emu/yuzu/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuzu-emu/yuzu/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuzu-emu/yuzu/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuzu-emu/yuzu/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuzu-emu/yuzu/contents/{+path}","compare_url":"https://api.github.com/repos/yuzu-emu/yuzu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuzu-emu/yuzu/merges","archive_url":"https://api.github.com/repos/yuzu-emu/yuzu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuzu-emu/yuzu/downloads","issues_url":"https://api.github.com/repos/yuzu-emu/yuzu/issues{/number}","pulls_url":"https://api.github.com/repos/yuzu-emu/yuzu/pulls{/number}","milestones_url":"https://api.github.com/repos/yuzu-emu/yuzu/milestones{/number}","notifications_url":"https://api.github.com/repos/yuzu-emu/yuzu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuzu-emu/yuzu/labels{/name}","releases_url":"https://api.github.com/repos/yuzu-emu/yuzu/releases{/id}","deployments_url":"https://api.github.com/repos/yuzu-emu/yuzu/deployments","created_at":"2018-01-03T18:13:57Z","updated_at":"2018-07-27T21:29:32Z","pushed_at":"2018-07-27T22:47:24Z","git_url":"git://github.com/yuzu-emu/yuzu.git","ssh_url":"git@github.com:yuzu-emu/yuzu.git","clone_url":"https://github.com/yuzu-emu/yuzu.git","svn_url":"https://github.com/yuzu-emu/yuzu","homepage":"","size":19753,"stargazers_count":4802,"watchers_count":4802,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":243,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":243,"open_issues":29,"watchers":4802,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842"},"html":{"href":"https://github.com/yuzu-emu/yuzu/pull/842"},"issue":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/issues/842"},"comments":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/issues/842/comments"},"review_comments":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842/comments"},"review_comment":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/pulls/842/commits"},"statuses":{"href":"https://api.github.com/repos/yuzu-emu/yuzu/statuses/ea307c8baad4bd5a9354cac4a7f8f6621811410f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gdkchan"}}