mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
SoundStream: change Start/Stop to Init/SetRunning/destruct
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user