- Home /
Get certain audio sources from unity as buffer?
Hi!
I am making a game in which I need to stream SOME of the audio to other players. Right now I am using OnAudioFIlterRead() on the AudioListener to get ALL audio as a buffer, and I have managed to stream this using Photon Voice.
However, I only want to stream certain audio sources (about 18) which make up the music part of my music game. There will also be voice chat (which is streamed separately) and maybe other audio sources that I do not want to stream.
I could assign these audio clips to a mixer track, but I have not found a way to get audio from a mixer track as a buffer? Does anyone have a solution?
Thanks!
Your answer
Follow this Question
Related Questions
Live audio streaming through Audio Source 0 Answers
Get spectrum data from specific Audio Mixer? 1 Answer
Footsteps not playing on Flash Export 1 Answer
Play Audio on destroy 3 Answers
How to read in Audio Input 1 Answer