Exemplo n.º 1
0
 // Initializes the source.
 private bool InitializeSoundfield()
 {
     if (id < 0)
     {
         id = GvrAudio.CreateAudioSoundfield();
         if (id >= 0)
         {
             for (int channelSet = 0; channelSet < audioSources.Length; ++channelSet)
             {
                 InitializeChannelSet(audioSources[channelSet], channelSet);
             }
         }
     }
     return(id >= 0);
 }