mirror of https://github.com/stella-emu/stella.git
libretro: Fix compile error with recent sound code changes.
This commit is contained in:
parent
2622fdf080
commit
f3503d22d9
|
@ -58,7 +58,6 @@ SoundSDL2::SoundSDL2(OSystem& osystem, AudioSettings& audioSettings)
|
|||
|
||||
queryHardware(myDevices);
|
||||
|
||||
|
||||
SDL_zero(myHardwareSpec);
|
||||
if(!openDevice())
|
||||
return;
|
||||
|
|
|
@ -120,4 +120,9 @@ void SoundLIBRETRO::dequeue(Int16* stream, uInt32* samples)
|
|||
*samples = outIndex / 2;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void SoundLIBRETRO::queryHardware(VariantList& devices)
|
||||
{
|
||||
}
|
||||
|
||||
#endif // SOUND_SUPPORT
|
||||
|
|
|
@ -104,7 +104,6 @@ class SoundLIBRETRO : public Sound
|
|||
*/
|
||||
string about() const override { return ""; }
|
||||
|
||||
public:
|
||||
/**
|
||||
Empties the playback buffer.
|
||||
|
||||
|
@ -113,6 +112,14 @@ class SoundLIBRETRO : public Sound
|
|||
*/
|
||||
void dequeue(Int16* stream, uInt32* samples);
|
||||
|
||||
protected:
|
||||
/**
|
||||
This method is called to query the audio devices.
|
||||
|
||||
@param devices List of device names
|
||||
*/
|
||||
void queryHardware(VariantList& devices) override;
|
||||
|
||||
private:
|
||||
// Indicates if the sound device was successfully initialized
|
||||
bool myIsInitializedFlag;
|
||||
|
|
Loading…
Reference in New Issue