wineandroid.drv: Turn variable 'options' into a static constant.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
53c8abbf8a
commit
6367203572
|
@ -287,8 +287,8 @@ static SLObjectItf outputmix;
|
||||||
|
|
||||||
HRESULT AUDDRV_Init(void)
|
HRESULT AUDDRV_Init(void)
|
||||||
{
|
{
|
||||||
|
static const SLEngineOption options[] = { {SL_ENGINEOPTION_THREADSAFE, SL_BOOLEAN_TRUE} };
|
||||||
SLresult sr;
|
SLresult sr;
|
||||||
SLEngineOption options[] = { {SL_ENGINEOPTION_THREADSAFE, SL_BOOLEAN_TRUE} };
|
|
||||||
|
|
||||||
sr = pslCreateEngine(&sl, 1, options, 0, NULL, NULL);
|
sr = pslCreateEngine(&sl, 1, options, 0, NULL, NULL);
|
||||||
if(sr != SL_RESULT_SUCCESS){
|
if(sr != SL_RESULT_SUCCESS){
|
||||||
|
|
Loading…
Reference in New Issue