ENUM CIP_SFC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


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