2018-01-18 19:24:05 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2020-08-11 20:39:33 +03:00
|
|
|
#include "steamworks_sdk_149/steam_api.h"
|
|
|
|
#include "steamworks_sdk_149/steamnetworkingtypes.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 22:06:46 +03:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2020-08-11 20:39:33 +03:00
|
|
|
#define SDKVER_149
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->BIsEnabled();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->BIsPlaying();
|
|
|
|
}
|
|
|
|
|
|
|
|
AudioPlayback_Status cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->GetPlaybackStatus();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamMusic*)linux_side)->Play();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamMusic*)linux_side)->Pause();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamMusic*)linux_side)->PlayPrevious();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamMusic*)linux_side)->PlayNext();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(void *linux_side, float flVolume)
|
|
|
|
{
|
|
|
|
((ISteamMusic*)linux_side)->SetVolume((float)flVolume);
|
|
|
|
}
|
|
|
|
|
|
|
|
float cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->GetVolume();
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|