Skip to content

Commit

Permalink
use-case.h: add Channels/ChannelPos values to the documentation
Browse files Browse the repository at this point in the history
We have use cases, where the channel split is required. We
can use alsa-lib plugins for this job, but some sound servers
or applications may want to do the split themselves.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
perexg committed May 24, 2022
1 parent 7474518 commit 0ba9995
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/use-case.h
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,12 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
* - playback device sample rate
* - PlaybackChannels
* - playback device channel count
* - PlaybackChannel#
* - describe index of the logical channel in the PCM stream
* - e.g. "PlaybackChannel0 2" - logical channel 0 is third channel in the PCM stream
* - PlaybackChannelPos#
* - describe sound position of the logical channel (ALSA chmap names)
* - e.g. "PlaybackChannel0 FR" - logical channel 0 is at front left
* - PlaybackCTL
* - playback control device name
* - PlaybackVolume
Expand All @@ -329,6 +335,12 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
* - capture device sample rate
* - CaptureChannels
* - capture device channel count
* - CaptureChannel#
* - describe index of the logical channel in the PCM stream
* - e.g. "CaptureChannel0 2" - logical channel 0 is third channel in the PCM stream
* - CaptureChannelPos#
* - describe sound position of the logical channel (ALSA chmap names)
* - e.g. "CaptureChannel0 FR" - logical channel 0 is at front left
* - CaptureCTL
* - capture control device name
* - CaptureVolume
Expand Down

0 comments on commit 0ba9995

Please sign in to comment.