PROPHET/OS

NAME

soundv: a user's own sound server, a provider of audio beside ProphetAudio (R13-AUDIO-33)

SYNOPSIS

soundv

DESCRIPTION

A user's own sound server, a provider of audio beside ProphetAudio (R13-AUDIO-33). It serves the channel audio.user: a program asks for a stream (48 kHz, two channels, its ring's frames) and gets the token of a shared area holding the head and ring a kernel stream has (programs/audio_ring.h). Each period soundv mixes every client's ring into its own stream ring of the kernel's graph and wakes a client waiting for room by the area's doorbell (POS_MEM_SHARED_WAKE). No sample crosses a call; the channel carries the asks (open, status) alone. soundv offers itself as the provider of the service audio (POS_VIGIL_SERVICE_REGISTER, priority 10 above the kernel's 0, CAP_CONTROL); a program opens the service by name and reaches it. The offer goes with its channel. A second soundv finds the channel taken and ends with 1.

EXAMPLE

$ soundv --help
soundv
  a user's sound server: serves audio.user, mixes its clients into one stream

SEE ALSO

audio_servetest, pos_sharedtest, mixer