mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
pcm.h - major documentation updates and reordering
Cleanup for __cplusplus defines.
This commit is contained in:
parent
5e58abf785
commit
87b5b249a5
14 changed files with 402 additions and 321 deletions
|
|
@ -28,6 +28,10 @@
|
|||
#ifndef __ALSA_SEQ_MIDI_EVENT_H
|
||||
#define __ALSA_SEQ_MIDI_EVENT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \defgroup MIDI_Event Sequencer event <-> MIDI byte stream coder
|
||||
* \ingroup Sequencer
|
||||
|
|
@ -38,10 +42,6 @@
|
|||
/** container for sequencer midi event parsers */
|
||||
typedef struct snd_midi_event snd_midi_event_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int snd_midi_event_new(size_t bufsize, snd_midi_event_t **rdev);
|
||||
int snd_midi_event_resize_buffer(snd_midi_event_t *dev, size_t bufsize);
|
||||
void snd_midi_event_free(snd_midi_event_t *dev);
|
||||
|
|
@ -54,11 +54,11 @@ int snd_midi_event_encode_byte(snd_midi_event_t *dev, int c, snd_seq_event_t *ev
|
|||
/* decode from event to bytes - return number of written bytes if success */
|
||||
long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, snd_seq_event_t *ev);
|
||||
|
||||
/** \} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** \} */
|
||||
|
||||
#endif /* __ALSA_SEQ_MIDI_EVENT_H */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue