Lines Matching refs:m_input
63 if (m_input->Read(&signature1, 4).LastRead() != 4)
67 m_input->Ungetch(&signature1, 4);
71 m_input->Read(&len, 4);
72 if (m_input->LastRead() != 4) {
73 m_input->Ungetch(&len, m_input->LastRead());
74 m_input->Ungetch(&signature1, 4);
78 if (m_input->Read(&signature2, 4).LastRead() != 4) {
79 m_input->Ungetch(&signature2, m_input->LastRead());
80 m_input->Ungetch(&len, 4);
81 m_input->Ungetch(&signature1, 4);
85 m_input->Ungetch(&signature2, 4);
86 m_input->Ungetch(&len, 4);
87 m_input->Ungetch(&signature1, 4);
101 wxDataInputStream data(*m_input);
105 if (!m_input) {
113 FAIL_WITH(m_input->Read(&signature, 4).LastRead() != 4, wxSOUND_INVSTRM);
119 FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM);
122 FAIL_WITH(m_input->Read(&signature, 4).LastRead() != 4, wxSOUND_INVSTRM);
130 FAIL_WITH(m_input->Read(&signature, 4).LastRead() != 4, wxSOUND_INVSTRM);
133 FAIL_WITH(m_input->LastRead() != 4, wxSOUND_INVSTRM);
155 m_input->SeekI(len-18, wxFromCurrent);
160 // m_input->SeekI(4, wxFromCurrent); // Pass an INT32
161 // m_input->SeekI(len-4, wxFromCurrent); // Pass the rest
162 m_input->SeekI(ssnd + 4, wxFromCurrent);
163 m_base_offset = m_input->TellI();
170 m_input->SeekI(len, wxFromCurrent);
194 m_input->SeekI(m_base_offset, wxFromStart);
200 return m_input->Read(buffer, len).LastRead();