Bus

object Bus
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def audio(server: Server, numChannels: Int): AudioBus

Constructs a new audio bus proxy for use in a shared environment, where there can be situations of semi-orphaned buses (only one reader or only one writer left).

Constructs a new audio bus proxy for use in a shared environment, where there can be situations of semi-orphaned buses (only one reader or only one writer left).

def control(server: Server, numChannels: Int): ControlBus
def soundIn(server: Server, numChannels: Int, offset: Int): AudioBus
def soundOut(server: Server, numChannels: Int, offset: Int): AudioBus
def tmpAudio(server: Server, numChannels: Int): AudioBus

Constructs a new audio bus proxy for use in a short-term temporary fashion. The implementation does not maintain dummy and empty buses for the case that there is only one reader or only one writer. As a consequence, it should not be used in such a scenario, as precious bus indices will be occupied. On the other hand, this method is useful for internal temporary buses, because when both a reader and a writer release the resource, there are no spurious bus re-assignments causing further busChanged notifications (which would go to concurrently freed nodes).

Constructs a new audio bus proxy for use in a short-term temporary fashion. The implementation does not maintain dummy and empty buses for the case that there is only one reader or only one writer. As a consequence, it should not be used in such a scenario, as precious bus indices will be occupied. On the other hand, this method is useful for internal temporary buses, because when both a reader and a writer release the resource, there are no spurious bus re-assignments causing further busChanged notifications (which would go to concurrently freed nodes).

def wrap(server: Server, bus: AudioBus): AudioBus