Update SetFormatAndFreq method to use ALenum type in format parameter

This commit is contained in:
trompetin17
2025-07-14 23:18:07 -05:00
parent 019514a9cf
commit 8ed40553c8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;