Home
last modified time | relevance | path

Searched refs:pBuffer (Results 1 – 25 of 25) sorted by relevance

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DWAVInputSource.h22 virtual int GetData(unsigned char * pBuffer, int nBlocks, int * pBlocksRetrieved) = 0;
25 virtual int GetHeaderData(unsigned char * pBuffer) = 0;
26 virtual int GetTerminatingData(unsigned char * pBuffer) = 0;
42 int GetData(unsigned char * pBuffer, int nBlocks, int * pBlocksRetrieved);
45 int GetHeaderData(unsigned char * pBuffer);
46 int GetTerminatingData(unsigned char * pBuffer);
H A DAPETag.cpp61 int CAPETagField::SaveField(char * pBuffer) in SaveField() argument
63 *((int *) pBuffer) = m_nFieldValueBytes; in SaveField()
64 pBuffer += 4; in SaveField()
65 *((int *) pBuffer) = m_nFieldFlags; in SaveField()
66 pBuffer += 4; in SaveField()
69 strcpy(pBuffer, spFieldNameANSI); in SaveField()
70 pBuffer += strlen(spFieldNameANSI) + 1; in SaveField()
72 memcpy(pBuffer, m_spFieldValue, m_nFieldValueBytes); in SaveField()
186 int CAPETag::WriteBufferToEndOfIO(void * pBuffer, int nBytes) in WriteBufferToEndOfIO() argument
193 int nRetVal = m_spIO->Write(pBuffer, nBytes, &nBytesWritten); in WriteBufferToEndOfIO()
[all …]
H A DGlobalFunctions.cpp49 int ReadSafe(CIO * pIO, void * pBuffer, int nBytes) in ReadSafe() argument
52 int nRetVal = pIO->Read(pBuffer, nBytes, &nBytesRead); in ReadSafe()
62 int WriteSafe(CIO * pIO, void * pBuffer, int nBytes) in WriteSafe() argument
65 int nRetVal = pIO->Write(pBuffer, nBytes, &nBytesWritten); in WriteSafe()
H A DStdLibFileIO.h22 int Read(void * pBuffer, unsigned int nBytesToRead, unsigned int * pBytesRead);
23 int Write(const void * pBuffer, unsigned int nBytesToWrite, unsigned int * pBytesWritten);
38 int GetName(char* pBuffer);
H A DIO.h30 virtual int Read(void * pBuffer, unsigned int nBytesToRead, unsigned int * pBytesRead) = 0;
31 …virtual int Write(const void * pBuffer, unsigned int nBytesToWrite, unsigned int * pBytesWritten) …
46 virtual int GetName(char* pBuffer) = 0;
H A DCircleBuffer.cpp42 int CCircleBuffer::Get(unsigned char * pBuffer, int nBytes) in Get() argument
46 if (pBuffer != NULL && nBytes > 0) in Get()
51 memcpy(&pBuffer[0], &m_pBuffer[m_nHead], nHeadBytes); in Get()
56 memcpy(&pBuffer[nHeadBytes], &m_pBuffer[0], nFrontBytes); in Get()
H A DAPECompress.cpp115 unsigned char * pBuffer = LockBuffer(&nBytesAvailable); in AddData() local
116 if (pBuffer == NULL || nBytesAvailable <= 0) in AddData()
121 memcpy(pBuffer, &pData[nBytesDone], nBytesToProcess); in AddData()
198 unsigned char * pBuffer = LockBuffer(&nBytesAvailable); in AddDataFromInputSource() local
199 if ((pBuffer == NULL) || (nBytesAvailable == 0)) in AddDataFromInputSource()
226 int nRetVal = pInputSource->GetData(pBuffer, nBlocksToAdd, &nBlocksAdded); in AddDataFromInputSource()
H A DStdLibFileIO.cpp173 int CStdLibFileIO::Read(void * pBuffer, unsigned int nBytesToRead, unsigned int * pBytesRead) in Read() argument
175 *pBytesRead = fread(pBuffer, 1, nBytesToRead, m_pFile); in Read()
179 int CStdLibFileIO::Write(const void * pBuffer, unsigned int nBytesToWrite, unsigned int * pBytesWr… in Write() argument
181 *pBytesWritten = fwrite(pBuffer, 1, nBytesToWrite, m_pFile); in Write()
215 int CStdLibFileIO::GetName(char * pBuffer) in GetName() argument
217 strcpy(pBuffer, m_cFileName); in GetName()
H A DGlobalFunctions.h13 int ReadSafe(CIO * pIO, void * pBuffer, int nBytes);
14 int WriteSafe(CIO * pIO, void * pBuffer, int nBytes);
H A DAPETag.h194 int SaveField(char * pBuffer);
242 virtual int GetFieldBinary(const str_utf16 * pFieldName, void * pBuffer, int * pBufferBytes);
243 …virtual int GetFieldString(const str_utf16 * pFieldName, str_utf16 * pBuffer, int * pBufferCharact…
278 int WriteBufferToEndOfIO(void * pBuffer, int nBytes);
279 int LoadField(const char * pBuffer, int nMaximumBytes, int * pBytes);
285 int GetFieldID3String(const str_utf16 * pFieldName, char * pBuffer, int nBytes);
H A DWAVInputSource.cpp216 int CWAVInputSource::GetData(unsigned char * pBuffer, int nBlocks, int * pBlocksRetrieved) in GetData() argument
223 if (m_spIO->Read(pBuffer, nBytes, &nBytesRead) != ERROR_SUCCESS) in GetData()
231 int CWAVInputSource::GetHeaderData(unsigned char * pBuffer) in GetHeaderData() argument
244 int nReadRetVal = m_spIO->Read(pBuffer, m_nHeaderBytes, &nBytesRead); in GetHeaderData()
257 int CWAVInputSource::GetTerminatingData(unsigned char * pBuffer) in GetTerminatingData() argument
270 int nReadRetVal = m_spIO->Read(pBuffer, m_nTerminatingBytes, &nBytesRead); in GetTerminatingData()
H A DAPEInfo.cpp246 char * pBuffer = (char *) nParam1; in GetInfo() local
260 memcpy(pBuffer, &WAVHeader, sizeof(WAVE_HEADER)); in GetInfo()
272 memcpy(pBuffer, m_APEFileInfo.spWaveHeaderData, m_APEFileInfo.nWAVHeaderBytes); in GetInfo()
280 char * pBuffer = (char *) nParam1; in GetInfo() local
297 m_spIO->Read(pBuffer, m_APEFileInfo.nWAVTerminatingBytes, &nBytesRead); in GetInfo()
H A DCircleBuffer.h41 int Get(unsigned char * pBuffer, int nBytes);
H A DAPEDecompress.cpp82 int CAPEDecompress::GetData(char * pBuffer, int nBlocks, int * pBlocksRetrieved) in GetData() argument
95 unsigned char * pOutputBuffer = (unsigned char *) pBuffer; in GetData()
450 char * pBuffer = (char *) nParam1; in GetInfo() local
463 memcpy(pBuffer, &WAVHeader, sizeof(WAVE_HEADER)); in GetInfo()
H A DAPEDecompress.h20 int GetData(char * pBuffer, int nBlocks, int * pBlocksRetrieved);
H A DMACLib.h239 virtual int GetData(char * pBuffer, int nBlocks, int * pBlocksRetrieved) = 0;
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/
H A DCEchoGals_midi.cpp57 PBYTE pBuffer, in WriteMidi() argument
61 return GetDspCommObject()->WriteMidi( pBuffer, in WriteMidi()
H A DCEchoGals.h650 PBYTE pBuffer,
/haiku/src/apps/cortex/addons/Flanger/
H A DFlangerNode.cpp308 BBuffer* pBuffer) { in BufferReceived() argument
309 ASSERT(pBuffer); in BufferReceived()
312 if(pBuffer->Header()->destination != in BufferReceived()
316 pBuffer->Recycle(); in BufferReceived()
320 if(pBuffer->Header()->time_source != TimeSource()->ID()) { in BufferReceived()
327 pBuffer->Recycle(); in BufferReceived()
332 filterBuffer(pBuffer); in BufferReceived()
334 status_t err = SendBuffer(pBuffer, m_output.source, m_output.destination); in BufferReceived()
338 pBuffer->Recycle(); in BufferReceived()
1402 BBuffer* pBuffer = pTestGroup->RequestBuffer( in calcProcessingLatency() local
[all …]
H A DFlangerNode.h112 BBuffer* pBuffer);
348 BBuffer* pBuffer); //nyi
/haiku/src/apps/cortex/addons/common/
H A DAudioBuffer.cpp102 BBuffer* pBuffer, in AudioBuffer() argument
109 if(pBuffer->Header()->type != B_MEDIA_RAW_AUDIO) in AudioBuffer()
113 m_pData = pBuffer->Data(); in AudioBuffer()
115 m_frames = pBuffer->Header()->size_used / m_frameSize; in AudioBuffer()
H A DAudioBuffer.h78 class BBuffer* pBuffer,
/haiku/src/apps/cortex/Persistence/
H A DImporter.cpp199 const char* pBuffer, in parseBuffer() argument
205 int err = XML_Parse(m_parser, pBuffer, length, last); in parseBuffer()
/haiku/src/add-ons/media/media-add-ons/equalizer/
H A DEqualizerNode.h122 virtual void FilterBuffer(BBuffer* pBuffer);
/haiku/src/add-ons/media/media-add-ons/vst_host/
H A DVSTNode.h129 virtual void FilterBuffer(BBuffer* pBuffer);