Commit 937a4938 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen

Merge branch 'master' into develop

parents ea4fbe09 2b03b189
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VAUAudioRendererGenericPath : VAUAudioRenderer
{
[Tooltip("Generic path renderer channel number")]
public int NumberOfChannels = 2;
[Tooltip("Generic path renderer channel number")]
public int FilterLengthSamples = 88200;
[Tooltip("Generic path renderer sampling rate")]
public double SamplingRate = 44100;
[Tooltip("Generic path renderer default impules response file")]
public string IRFilePath = "";
[Tooltip("Generic path sound source")]
public VAUSoundSource SoundSource;
[Tooltip("Generic path sound receiver")]
public VAUSoundReceiver SoundReceiver;
void Start ()
{
if( SoundSource && SoundReceiver )
VAUAdapter.VA.UpdateGenericPathFromFile (ID, SoundSource.ID, SoundReceiver.ID, IRFilePath);
}
void Update()
{
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment