MCPcopy Create free account
hub / github.com/LabSound/LabSound / HRTFDatabaseInfo

Method HRTFDatabaseInfo

src/internal/HRTFDatabase.h:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 int numTotalElevations;
40
41 HRTFDatabaseInfo(const std::string & subjectName, const std::string & searchPath, float sampleRate)
42 : subjectName(subjectName)
43 , searchPath(searchPath)
44 , sampleRate(sampleRate)
45 {
46 numTotalElevations = numberOfRawElevations * interpolationFactor;
47 }
48
49 // Returns the index for the correct HRTFElevation given the elevation angle.
50 int indexFromElevationAngle(double elevationAngle)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected