|
RavEngine
|
Public Member Functions | |
| void | RenderAudioSource (PlanarSampleBufferInlineView &buffer, PlanarSampleBufferInlineView &scratchBuffer, PlanarSampleBufferInlineView monoSourceData, const vector3 &sourcePos, entity_t owningEntity, const matrix4 &invListenerTransform) |
| void | DeleteAudioDataForEntity (entity_id_t entity) |
Public Member Functions inherited from RavEngine::AudioGraphComposed | |
| void | SetGraph (decltype(effectGraph) inGraph) |
| auto | GetGraph () const |
| void | Render (PlanarSampleBufferInlineView &inputSamples, PlanarSampleBufferInlineView &intermediateBuffer, uint8_t nchannels) |
Public Attributes | |
| float | sourceRadius = 10 |
Friends | |
| class | RavEngine::AudioPlayer |
Additional Inherited Members | |
Public Types inherited from RavEngine::AudioGraphComposed | |
| using | effect_graph_ptr_t = Ref< AudioGraphAsset > |
| void RavEngine::SimpleAudioSpace::RoomData::RenderAudioSource | ( | PlanarSampleBufferInlineView & | buffer, |
| PlanarSampleBufferInlineView & | scratchBuffer, | ||
| PlanarSampleBufferInlineView | monoSourceData, | ||
| const vector3 & | sourcePos, | ||
| entity_t | owningEntity, | ||
| const matrix4 & | invListenerTransform | ||
| ) |
| buffer | destination for the calculated audio |
| scratchBuffer | scratch memory for effect graphs |
| monoSourceData | the point source data. Must be AudioRoom::NFRAMES in length and represent MONO audio |
| sourcePos | the position of the audio source in world space |
| owningentity | the owning ID of the audio source |
| invListenerTransform | the inverse of the listener transform in world space |