Skip to content

Commit

Permalink
Improve audio session definition. Make source/sink description more p…
Browse files Browse the repository at this point in the history
…recise
  • Loading branch information
youennf committed Oct 17, 2024
1 parent f0d3fd5 commit b63b4db
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ This API allows developers to override the default behavior and gain more contro

# Concepts # {#concepts}

An <dfn>audio session</dfn> represents the playback of audible media.
A web page can do audio processing in various ways, combining different APIs like {{HTMLMediaElement}} or {{AudioContext}}.
This audio processing has a start and a stop, which aggregates all the different audio APIs being used.
An <dfn>audio session</dfn> represents this aggregated audio processing. It allows web pages to express the general nature
of the audio processing done by the web page.

An [=audio session=] can be of a particular [=audio session/type=], and be in a particular [=audio session/state=].
An [=audio session=] manages the audio for a set of sources and sinks, named audio session <dfn data-lt="element" for="audio session">elements</dfn>.
An [=audio session=] manages the audio for a set of individual sources (microphone recording) and sinks (audio rendering), named audio session <dfn data-lt="element" for="audio session">elements</dfn>.

An [=audio session=]'s [=audio session/element=] has a number of properties:

Expand Down

0 comments on commit b63b4db

Please sign in to comment.