Searched refs:bytesPerSample (Results 1 - 6 of 6) sorted by relevance

/haiku/src/apps/mediaconverter/
H A DMediaFileInfo.cpp97 char bytesPerSample = (char)(raf->format & 0xf); local
100 if (bytesPerSample == 1 || bytesPerSample == 2) {
103 bitFormat.Format(details, bytesPerSample * 8);
104 details.SetToFormat(B_TRANSLATE("%d bit "), bytesPerSample * 8);
108 bitFormat.Format(details, bytesPerSample);
/haiku/src/apps/cortex/addons/common/
H A DAudioBuffer.cpp283 size_t bytesPerSample = m_format.format & 0x0f; local
291 int8* pCur = (int8*)m_pData + (firstSample * bytesPerSample);
305 remaining--, n++, pCur += bytesPerSample) {
336 size_t bytesPerSample = m_format.format & 0x0f; local
344 int8* pCur = (int8*)m_pData + (firstSample * bytesPerSample);
358 remaining--, n++, pCur += bytesPerSample) {
389 size_t bytesPerSample = m_format.format & 0x0f; local
396 int8* pCur = (int8*)m_pData + (firstSample * bytesPerSample);
410 remaining--, n++, pCur += bytesPerSample) {
446 size_t bytesPerSample local
[all...]
H A DSoundUtils.cpp67 int bytesPerSample = format.format & 0xf; local
68 return bytesPerSample * format.channel_count;
/haiku/src/apps/cortex/support/
H A DSoundUtils.cpp67 int bytesPerSample = format.format & media_raw_audio_format::B_AUDIO_SIZE_MASK; local
68 return bytesPerSample * format.channel_count;
/haiku/headers/os/media/
H A DSoundFile.h50 virtual int32 SetSampleSize(int32 bytesPerSample);
/haiku/src/kits/media/
H A DSound.cpp142 uint32 bytesPerSample = fFormat.format &
144 int64 frameCount = Size() / (fFormat.channel_count * bytesPerSample);

Completed in 54 milliseconds