Searched refs:ambiorder (Results 1 – 5 of 5) sorted by relevance
/dports/audio/openal-soft/openal-soft-1.21.1/alc/ |
H A D | buffer_storage.cpp | 23 uint ChannelsFromFmt(FmtChannels chans, uint ambiorder) noexcept 34 case FmtBFormat2D: return (ambiorder*2) + 1; 35 case FmtBFormat3D: return (ambiorder+1) * (ambiorder+1);
|
H A D | buffer_storage.h | 43 uint ChannelsFromFmt(FmtChannels chans, uint ambiorder) noexcept; 44 inline uint FrameSizeFromFmt(FmtChannels chans, FmtType type, uint ambiorder) noexcept in FrameSizeFromFmt() argument 45 { return ChannelsFromFmt(chans, ambiorder) * BytesFromFmt(type); } in FrameSizeFromFmt()
|
/dports/audio/openal-soft/openal-soft-1.21.1/core/ |
H A D | devformat.cpp | 21 uint ChannelsFromDevFmt(DevFmtChannels chans, uint ambiorder) noexcept 32 case DevFmtAmbi3D: return (ambiorder+1) * (ambiorder+1);
|
H A D | devformat.h | 84 uint ChannelsFromDevFmt(DevFmtChannels chans, uint ambiorder) noexcept; 85 inline uint FrameSizeFromDevFmt(DevFmtChannels chans, DevFmtType type, uint ambiorder) noexcept 86 { return ChannelsFromDevFmt(chans, ambiorder) * BytesFromDevFmt(type); }
|
/dports/audio/openal-soft/openal-soft-1.21.1/al/ |
H A D | buffer.cpp | 261 ALuint ChannelsFromUserFmt(UserFmtChannels chans, ALuint ambiorder) noexcept 272 case UserFmtBFormat2D: return (ambiorder*2) + 1; 273 case UserFmtBFormat3D: return (ambiorder+1) * (ambiorder+1); in AllocEffectSlot() 503 const ALuint ambiorder{(DstChannels == FmtBFormat2D || DstChannels == FmtBFormat3D) ? in alAuxiliaryEffectSlotPlaySOFT() 513 if(ALBuf->mAmbiOrder != ambiorder) in alAuxiliaryEffectSlotPlaySOFT() 520 const ALuint SrcByteAlign{ChannelsFromUserFmt(SrcChannels, ambiorder) * in alAuxiliaryEffectSlotPlaySOFT() 537 ALuint NumChannels{ChannelsFromFmt(DstChannels, ambiorder)}; in alAuxiliaryEffectSlotPlaySOFT() 593 ALBuf->mAmbiOrder = ambiorder; in alAuxiliaryEffectSlotPlaySOFT() 645 const ALuint ambiorder{(DstChannels == FmtBFormat2D || DstChannels == FmtBFormat3D) ? 648 al::vector<al::byte,16>(FrameSizeFromFmt(DstChannels, DstType, ambiorder) * [all …]
|