// -----------------------------------------------------------------------
#define DEFINE_CONV(name, input_type, output_type, convert) \
-static void Convert_##name##(const void *buf_in, void *buf_out, wxUint32 len) \
+static void Convert_##name(const void *buf_in, void *buf_out, wxUint32 len) \
{\
register input_type src; \
register const input_type *t_buf_in = (input_type *)buf_in; \
// We try to minimize the need of dynamic memory allocation by preallocating a buffer. But
// to be sure it will be efficient we minimize the best size.
if (m_multiplier_in < m_multiplier_out) {
- m_prebuffer_size = (wxUint32)(m_sndio->GetBestSize() * m_multiplier_out);
- m_best_size = (wxUint32)(m_sndio->GetBestSize() * m_multiplier_in);
+ m_prebuffer_size = (wxUint32)(m_sndio->GetBestSize() *
+ m_multiplier_out);
+ m_best_size = (wxUint32)(m_sndio->GetBestSize() *
+ m_multiplier_in);
} else {
- m_prebuffer_size = (wxUint32)(m_sndio->GetBestSize() * m_multiplier_in);
- m_best_size = (wxUint32)(m_sndio->GetBestSize() * m_multiplier_out);
+ m_prebuffer_size = (wxUint32)(m_sndio->GetBestSize() *
+ m_multiplier_in);
+ m_best_size = (wxUint32)(m_sndio->GetBestSize() *
+ m_multiplier_out);
}
m_prebuffer = new char[m_prebuffer_size];
SetSoundFormatReturn = m_sndio->SetSoundFormat(*new_format);
wxASSERT( SetSoundFormatReturn );
+ wxUnusedVar( SetSoundFormatReturn );
m_sndformat = new_format;
return TRUE;