You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
boolCreateFrom3dti(const std::string & input3dti, shared_ptr<Binaural::CListener> listener); ///< Load HRTF head from 3dti file.
87
-
boolCreateFrom3dtiStream(std::istream& input3dtiStream, shared_ptr<Binaural::CListener> listener); ///< Load HRTF head from a stream opened from a 3dti file
90
+
/** \brief Load HRTF head from 3dti file.
91
+
* \param [in] path of the 3dti file
92
+
* \param [out] listener affected by the hrtf
93
+
* \eh On error, an error code is reported to the error handler. */
//Binaural::CHRTF CreateFrom3dtiWithAndroidActivity(const std::string input3dti, ANativeActivity* activity, int bufferSize, int sampleRate); ///< Create head from 3dti file in Android platform
constunsignedint nSamples = (unsignedint)hrir.GetNumDataSamples(); // For example: 512 samples.
181
-
listener->GetHRTF()->BeginSetup(nSamples);
181
+
double distance = pos[array2DIndex(0, 2, nMeasurements, dims[1])]; //We consider that every HRIR are meased at the same distance, so we get the firts one
boolCreateFrom3dtiStream(std::istream& input3dtiStream, shared_ptr<Binaural::CListener> listener, T_ILDTable tableDestiny); ///< Create ILD from a stream opened from a 3dti file
110
+
/** \brief Create ILD from a stream opened from a 3dti file
111
+
* \param [in] 3dti file path with the data to create the spacialization table
112
+
* \param [out] Listener that is affected by spacialization table
113
+
* \param [out] table containing the ouput data
114
+
* \eh On error, an error code is reported to the error handler.
0 commit comments