Lines Matching refs:FAIL_WITH
65 #define FAIL_WITH(condition, err) if (condition) { m_snderror = err; return false; }
74 FAIL_WITH(m_input->Read(&signature1, 4).LastRead() != 4, wxSOUND_INVSTRM);
83 FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM);
86 FAIL_WITH(m_input->Read(&signature2, 4).LastRead() != 4, wxSOUND_INVSTRM);
192 FAIL_WITH(m_input->Read(&signature, 4).LastRead() != 4, wxSOUND_INVSTRM);
193 FAIL_WITH(wxUINT32_SWAP_ON_BE(signature) != RIFF_SIGNATURE, wxSOUND_INVSTRM);
198 FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM);
202 FAIL_WITH(m_input->Read(&signature, 4).LastRead() != 4, wxSOUND_INVSTRM);
203 FAIL_WITH(wxUINT32_SWAP_ON_BE(signature) != WAVE_SIGNATURE, wxSOUND_INVSTRM);
209 FAIL_WITH(m_input->Read(&signature, 4).LastRead() != 4, wxSOUND_INVSTRM);
212 FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM);
324 FAIL_WITH(s->Write(&signature, 4).LastWrite() != 4, wxSOUND_INVSTRM);
342 FAIL_WITH(m_output->LastWrite() != 4, wxSOUND_INVSTRM);
363 FAIL_WITH(!frmt, wxSOUND_NOCODEC);