OSDN Git Service

Major change to sequencer API.
authorJaroslav Kysela <perex@perex.cz>
Wed, 4 Jul 2001 13:54:13 +0000 (13:54 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 4 Jul 2001 13:54:13 +0000 (13:54 +0000)
commit88e5e451516e7496a86a96ea8a38e63e522b6b22
tree1706ce3e52c92ed1a45d3ea95eeb9c5f432bc7ed
parentd23ff765adde011a08638093698f00600a83fc9e
Major change to sequencer API.

The sequencer API is totally recoded with the style of "encapsulation"
in other api.
The structure becomes opaque and accessed only via functions.

Other changes:
- There is no longer group in client and port info.
- snd_seq_query_subs_t is renamed to snd_seq_query_subscribe_t.
- snd_seq_delete_port takes only the port id argument instead of
  port_info structure.
- snd_seq_input/output_buffer_size are renamed
  as snd_seq_get_input/output_buffer_size.
  Similarly snd_seq_resize_input/output_buffer are renamed as
  snd_seq_set_input/output_buffer_size.
- snd_seq_get_named_queue is renamed to snd_seq_query_named_queue.
- Sync codes are removed temporarily from API.
- Subscription conditions are accessed via the corresponding functions.
  convert_time is named now as time_update.
- snd_seq_get/set_queue_owner are removed.
  Use snd_seq_get/set_queue_info instead.
- Instrument put/get/remove structure is unified as snd_instr_header_t.
20 files changed:
include/Makefile.am
include/instr.h
include/local.h
include/seq.h
include/seq_event.h [new file with mode: 0644]
include/seqmid.h
src/instr/fm.c
src/instr/iwffff.c
src/instr/simple.c
src/seq/Makefile.am
src/seq/seq.c
src/seq/seq_event.c [new file with mode: 0644]
src/seq/seq_hw.c
src/seq/seq_local.h
src/seq/seq_midi_event.c
src/seq/seqmid.c
test/playmidi1.c
test/seq-decoder.c
test/seq-sender.c
test/seq.c