mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
Update SetFormatAndFreq method to use ALenum type in format parameter
This commit is contained in:
@@ -52,7 +52,7 @@ COggData::~COggData()
|
||||
m_BuffersCount = 0;
|
||||
}
|
||||
|
||||
void COggData::SetFormatAndFreq(int form, ALsizei freq)
|
||||
void COggData::SetFormatAndFreq(ALenum form, ALsizei freq)
|
||||
{
|
||||
m_Format = form;
|
||||
m_Frequency = freq;
|
||||
|
||||
@@ -60,7 +60,7 @@ protected:
|
||||
std::array<ALuint, OGG_DEFAULT_BUFFER_COUNT> m_Buffer{};
|
||||
int m_BuffersCount;
|
||||
|
||||
void SetFormatAndFreq(int form, ALsizei freq);
|
||||
void SetFormatAndFreq(ALenum form, ALsizei freq);
|
||||
int GetBufferCount() override;
|
||||
unsigned int GetBuffer() override;
|
||||
unsigned int* GetBufferPtr() override;
|
||||
|
||||
Reference in New Issue
Block a user