---
name: "snd_rawmidi_transmit"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_rawmidi_transmit"
---

# snd\_rawmidi\_transmit(9)

copy from the buffer to the device

## NAME

snd\_rawmidi\_transmit - copy from the buffer to the device

## SYNOPSIS

**int snd\_rawmidi\_transmit(struct snd\_rawmidi\_substream \*** *substream***, unsigned char \*** *buffer***, int** *count***);**

## ARGUMENTS

*substream*

the rawmidi substream

*buffer*

the buffer pointer

*count*

the data size to transfer

## DESCRIPTION

Copies data from the buffer to the device and advances the pointer.

## RETURN

The copied size if successful, or a negative error code on failure.

## COPYRIGHT
