mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Update SetFormatAndFreq method to use ALenum type in format parameter
This commit is contained in:
parent
019514a9cf
commit
8ed40553c8
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue