ENUM CIP_SFC(9)
πΈ enum cip_sfc(9) πΈ
okay so this is a kernel API manual page, bestie β literally the enum cip_sfc(9) page β and it's all about Sampling Frequency Codes, aka SFCs. yes the acronym is doing a lot of work. let's get into it π
β¨ NAME β¨
enum cip_sfc β the supported Sampling Frequency Codes (SFCs). that's it, that's the whole name. slay.
π SYNOPSIS π
here's the enum in all its glory, typed out exactly, no cap:
enum cip_sfc {
CIP_SFC_32000 ,
CIP_SFC_44100 ,
CIP_SFC_48000 ,
CIP_SFC_88200 ,
CIP_SFC_96000 ,
CIP_SFC_176400 ,
CIP_SFC_192000 ,
CIP_SFC_COUNT
};
π Constants π
every single member, and what it means, one by one, because we do not skip here:
CIP_SFC_32000β 32,000 data blocks πCIP_SFC_44100β 44,100 data blocks πCIP_SFC_48000β 48,000 data blocks πCIP_SFC_88200β 88,200 data blocks πCIP_SFC_96000β 96,000 data blocks πCIP_SFC_176400β 176,400 data blocks πCIP_SFC_192000β 192,000 data blocks πCIP_SFC_COUNTβ the number of supported SFCs. it's giving "tally at the end of the list" energy π
π Description π
so what are these for? these values are used to show the nominal Sampling Frequency Code in the Format Dependent Field (FDF) of an AMDTP packet header. iconic. π«
and here's the little plot twist: in IEC 61883-6:2002, this code means the number of events per second. but actually β actually β the code represents the number of data blocks transferred per second in an AMDTP stream. yes, that's the real meaning. the way that lore dropped π
then IEC 61883-6:2005 came along and added some extensions to support more types of data, such as 'One Bit LInear Audio' (yes that's the exact capitalisation in the original, don't come for me π). so because of that, the meaning of SFC became different depending on the types. it's giving "the definition got a glow-up and now it's context-dependent".
β οΈ important vibe check: currently, our implementation is compatible with IEC 61883-6:2002. that's the version we're matching. periodt.
π¦ SEE ALSO π¦
go check these out, bestie, they're all in the kernel file ./sound/firewire/amdtp-stream.h:
enum cip_flags(9)amdtp_stream_running(9)amdtp_streaming_error(9)amdtp_stream_pcm_running(9)amdtp_stream_pcm_trigger(9)amdtp_stream_next_packet_desc(9)amdtp_domain_wait_ready(9)
and that's the whole page, no crumbs left πβ¨ it lives over at ./sound/firewire, dated October 2026, straight from the Kernel API Manual β mwah, go read the other pages, iykyk π«Άπ
π¦ 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