Browse Source
Merge pull request #879 from lioncash/audio
audout_u: Remove std::move in OpenAudioOutImpl()
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/hle/service/audio/audout_u.cpp
|
|
|
@ -194,7 +194,7 @@ void AudOutU::OpenAudioOutImpl(Kernel::HLERequestContext& ctx) { |
|
|
|
// TODO(bunnei): Support more than one IAudioOut interface. When we add this, ListAudioOutsImpl
|
|
|
|
// will likely need to be updated as well.
|
|
|
|
ASSERT_MSG(!audio_out_interface, "Unimplemented"); |
|
|
|
audio_out_interface = std::make_shared<IAudioOut>(std::move(params), *audio_core); |
|
|
|
audio_out_interface = std::make_shared<IAudioOut>(params, *audio_core); |
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 6, 0, 1}; |
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
|
|