mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
SoundStream: change Start/Stop to Init/SetRunning/destruct
This commit is contained in:
parent
ad4a89d64b
commit
0baddbf9a8
18 changed files with 102 additions and 121 deletions
|
@ -49,7 +49,7 @@ static void bqPlayerCallback(SLAndroidSimpleBufferQueueItf bq, void* context)
|
|||
_assert_msg_(AUDIO, SL_RESULT_SUCCESS == result, "Couldn't enqueue audio stream.");
|
||||
}
|
||||
|
||||
bool OpenSLESStream::Start()
|
||||
bool OpenSLESStream::Init()
|
||||
{
|
||||
SLresult result;
|
||||
// create engine
|
||||
|
@ -110,7 +110,7 @@ bool OpenSLESStream::Start()
|
|||
return true;
|
||||
}
|
||||
|
||||
void OpenSLESStream::Stop()
|
||||
OpenSLESStream::~OpenSLESStream()
|
||||
{
|
||||
if (bqPlayerObject != nullptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue