Internals

PortAudio.MessengerType
Messenger{Sample, Scribe, Input, Output}

A struct with entries

  • device_name::String
  • buffer::Buffer{Sample}
  • scribe::Scribe
  • input_channel::Channel{Input}
  • output_channel::Channel{Output}

The messenger will send tasks to the scribe; the scribe will read/write from the buffer.

source
PortAudio.read_buffer!Function
PortAudio.read_buffer!(buffer::Buffer, use_frames = buffer.frames_per_buffer; acquire_lock = true)

Read a number of frames (use_frames) from PortAudio to a PortAudio.Buffer.

Set acquire_lock = false to skip acquiring the acquire_lock.

source
PortAudio.write_bufferFunction
PortAudio.write_buffer(buffer, use_frames = buffer.frames_per_buffer; acquire_lock = true)

Write a number of frames (use_frames) from a PortAudio.Buffer to PortAudio.

Set acquire_lock = false to skip acquiring the lock.

source