ENUM SDCA_CHANNEL_PURPOSE(9)
β¨ enum sdca_channel_purpose β the SDCA Channel Purpose code buffet π
Okay bestie, so this page is from the Kernel API Manual (section 9, the kernel API section, iykyk) and it's literally just one big enum: enum sdca_channel_purpose. That's the SDCA Channel Purpose code. It's giving "one job, done iconically" π
πΈ SYNOPSIS πΈ
enum sdca_channel_purpose {
SDCA_CHAN_PURPOSE_GENERIC_AUDIO ,
SDCA_CHAN_PURPOSE_VOICE ,
SDCA_CHAN_PURPOSE_SPEECH ,
SDCA_CHAN_PURPOSE_AMBIENT ,
SDCA_CHAN_PURPOSE_REFERENCE ,
SDCA_CHAN_PURPOSE_ULTRASOUND ,
SDCA_CHAN_PURPOSE_SENSE ,
SDCA_CHAN_PURPOSE_SILENCE ,
SDCA_CHAN_PURPOSE_NON_AUDIO ,
SDCA_CHAN_PURPOSE_SENSE_V1 ,
SDCA_CHAN_PURPOSE_SENSE_V2 ,
SDCA_CHAN_PURPOSE_SENSE_V12_INTERLEAVED ,
SDCA_CHAN_PURPOSE_SENSE_V21_INTERLEAVED ,
SDCA_CHAN_PURPOSE_SENSE_V12_PACKED ,
SDCA_CHAN_PURPOSE_SENSE_V21_PACKED ,
SDCA_CHAN_PURPOSE_SENSE_V1212_INTERLEAVED ,
SDCA_CHAN_PURPOSE_SENSE_V2121_INTERLEAVED ,
SDCA_CHAN_PURPOSE_SENSE_V1122_INTERLEAVED ,
SDCA_CHAN_PURPOSE_SENSE_V2211_INTERLEAVED ,
SDCA_CHAN_PURPOSE_SENSE_V1212_PACKED ,
SDCA_CHAN_PURPOSE_SENSE_V2121_PACKED ,
SDCA_CHAN_PURPOSE_SENSE_V1122_PACKED ,
SDCA_CHAN_PURPOSE_SENSE_V2211_PACKED
};
π Constants π
Okay so here's the thing, bestie: the original says -- undescribed -- for literally every single one of these. Twenty-three constants, zero descriptions. Not me being lazy, it's just what the page says π So here's the full roster, all shiny and accounted for:
SDCA_CHAN_PURPOSE_GENERIC_AUDIOβ undescribedSDCA_CHAN_PURPOSE_VOICEβ undescribedSDCA_CHAN_PURPOSE_SPEECHβ undescribedSDCA_CHAN_PURPOSE_AMBIENTβ undescribedSDCA_CHAN_PURPOSE_REFERENCEβ undescribedSDCA_CHAN_PURPOSE_ULTRASOUNDβ undescribedSDCA_CHAN_PURPOSE_SENSEβ undescribedSDCA_CHAN_PURPOSE_SILENCEβ undescribedSDCA_CHAN_PURPOSE_NON_AUDIOβ undescribedSDCA_CHAN_PURPOSE_SENSE_V1β undescribedSDCA_CHAN_PURPOSE_SENSE_V2β undescribedSDCA_CHAN_PURPOSE_SENSE_V12_INTERLEAVEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V21_INTERLEAVEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V12_PACKEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V21_PACKEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V1212_INTERLEAVEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V2121_INTERLEAVEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V1122_INTERLEAVEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V2211_INTERLEAVEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V1212_PACKEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V2121_PACKEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V1122_PACKEDβ undescribedSDCA_CHAN_PURPOSE_SENSE_V2211_PACKEDβ undescribed
Lowkey a vibe check fail on the docs side, but the names themselves ate π Every single constant is listed above, no cap, none skipped.
π¦ Description π¦
These are the Channel Purpose codes, exactly as described in the SDCA specification v1.0 section 11.4.3. That's it, that's the whole description. Short king behavior, honestly π
π SEE ALSO π
Kernel file ./include/sound/sdca_function.h, plus this whole friend group right here:
enum sdca_function_type(9)struct sdca_init_write(9)SDCA_CTL_TYPE(9)SDCA_CTL_TYPE_S(9)enum sdca_messageoffset_range(9)enum sdca_ump_mode(9)enum sdca_ump_owner(9)enum sdca_it_controls(9)enum sdca_ot_controls(9)enum sdca_usage_range(9)enum sdca_dataport_selector_range(9)enum sdca_mu_controls(9)enum sdca_su_controls(9)enum sdca_fu_controls(9)enum sdca_volume_range(9)enum sdca_xu_controls(9)enum sdca_fdl_set_index_range(9)enum sdca_cs_controls(9)enum sdca_samplerateindex_range(9)enum sdca_cx_controls(9)enum sdca_pde_controls(9)enum sdca_requested_ps_range(9)enum sdca_ge_controls(9)enum sdca_selected_mode_range(9)enum sdca_detected_mode_values(9)enum sdca_spe_controls(9)enum sdca_cru_controls(9)enum sdca_udmpu_controls(9)enum sdca_mfpu_controls(9)enum sdca_smpu_controls(9)enum sdca_sapu_controls(9)enum sdca_ppu_controls(9)enum sdca_tg_controls(9)enum sdca_hide_controls(9)enum sdca_entity0_controls(9)enum sdca_control_datatype(9)enum sdca_access_mode(9)enum sdca_access_layer(9)struct sdca_control_range(9)struct sdca_control(9)enum sdca_terminal_type(9)enum sdca_connector_type(9)struct sdca_entity_iot(9)enum sdca_clock_type(9)struct sdca_entity_cs(9)enum sdca_pde_power_state(9)struct sdca_pde_delay(9)struct sdca_entity_pde(9)enum sdca_entity_type(9)struct sdca_ge_control(9)struct sdca_ge_mode(9)struct sdca_entity_ge(9)struct sdca_entity_hide(9)enum sdca_xu_reset_mechanism(9)struct sdca_entity_xu(9)struct sdca_entity(9)enum sdca_channel_relationship(9)struct sdca_channel(9)struct sdca_cluster(9)enum sdca_cluster_range(9)struct sdca_fdl_file(9)struct sdca_fdl_set(9)struct sdca_fdl_data(9)struct sdca_function_hid(9)struct sdca_function_data(9)
π«Ά Sign-off π«Ά
This lil beauty lives in ./include/sound, and the version/date on the original is October 2026 β So yeah, future-dated, main character energy only. Go read your spec section 11.4.3 and slay, bestie π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms