snd_ump_receive(9)
π snd_ump_receive(9) β Kernel API Manual, bestie edition π
okay so welcome to the snd_ump_receive(9) page, straight out of the Kernel API Manual β¨ pull up a chair, grab a boba, we're learning how UMP packets get from the device to user-space π§
πΈ NAME πΈ
snd_ump_receive β transfer UMP packets from the device π
β¨ SYNOPSIS β¨
int snd_ump_receive (struct snd_ump_endpoint *ump , const u32 *buffer ,
int count );
π¦ ARGUMENTS π¦
umpβ the UMP endpoint, your main character struct πbufferβ the buffer pointer to transfer, i.e. where the goods live π¦countβ byte size to transfer, yes it's bytes, don't come for me π
π DESCRIPTION π
So the driver calls this to submit the received UMP packets from the device up to user-space π«Ά it's essentially a wrapper of rawmidi_receive, no cap, that's literally the whole vibe.
The data to receive is in CPU-native endianness β like, native native, so don't go byte-swapping on me π
π SEE ALSO π
- Kernel file
./sound/core/ump.c snd_ump_endpoint_new(9)snd_ump_receive_ump_val(9)snd_ump_transmit(9)snd_ump_block_new(9)snd_ump_switch_protocol(9)snd_ump_parse_endpoint(9)
that's the whole page bestie, go read the friends above, they ate π₯
source tingz: ./sound/core, dated October 2026 β mwah, mwah, sending you all the kernel love π
βπ
π¦ 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