mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
(PS3) Build fix for PS3 audio driver - audio callback sound
still broken BTW
This commit is contained in:
parent
f097b93a29
commit
823f68df99
@ -165,10 +165,10 @@ static ssize_t ps3_audio_write(void *data, const void *buf, size_t size)
|
|||||||
static bool ps3_audio_stop(void *data)
|
static bool ps3_audio_stop(void *data)
|
||||||
{
|
{
|
||||||
ps3_audio_t *aud = data;
|
ps3_audio_t *aud = data;
|
||||||
if (data->started)
|
if (aud->started)
|
||||||
{
|
{
|
||||||
cellAudioPortStop(aud->audio_port);
|
cellAudioPortStop(aud->audio_port);
|
||||||
data->started = false;
|
aud->started = false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -176,10 +176,10 @@ static bool ps3_audio_stop(void *data)
|
|||||||
static bool ps3_audio_start(void *data)
|
static bool ps3_audio_start(void *data)
|
||||||
{
|
{
|
||||||
ps3_audio_t *aud = data;
|
ps3_audio_t *aud = data;
|
||||||
if (!data->started)
|
if (!aud->started)
|
||||||
{
|
{
|
||||||
cellAudioPortStart(aud->audio_port);
|
cellAudioPortStart(aud->audio_port);
|
||||||
data->started = true;
|
aud->started = true;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user