mirror of
https://gitee.com/openharmony/third_party_alsa-lib
synced 2024-11-30 11:10:49 +00:00
Removed unfinished sequencer sync code.
This commit is contained in:
parent
938bf0eab9
commit
2cdc7a7767
@ -40,8 +40,10 @@ int snd_seq_get_queue_owner(snd_seq_t *handle, int q, snd_seq_queue_owner_t *own
|
||||
int snd_seq_set_queue_owner(snd_seq_t *handle, int q, snd_seq_queue_owner_t *owner);
|
||||
int snd_seq_get_queue_timer(snd_seq_t *handle, int q, snd_seq_queue_timer_t *timer);
|
||||
int snd_seq_set_queue_timer(snd_seq_t *handle, int q, snd_seq_queue_timer_t *timer);
|
||||
#ifdef use_seqsync
|
||||
int snd_seq_get_queue_sync(snd_seq_t *handle, int q, snd_seq_queue_sync_t *sync);
|
||||
int snd_seq_set_queue_sync(snd_seq_t *handle, int q, snd_seq_queue_sync_t *sync);
|
||||
#endif
|
||||
int snd_seq_get_queue_client(snd_seq_t *handle, int q, snd_seq_queue_client_t *queue);
|
||||
int snd_seq_set_queue_client(snd_seq_t *handle, int q, snd_seq_queue_client_t *queue);
|
||||
int snd_seq_alloc_named_queue(snd_seq_t *seq, char *name);
|
||||
|
@ -332,6 +332,7 @@ int snd_seq_set_queue_timer(snd_seq_t *seq, int q, snd_seq_queue_timer_t * timer
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef use_seqsync
|
||||
int snd_seq_get_queue_sync(snd_seq_t *seq, int q, snd_seq_queue_sync_t * sync)
|
||||
{
|
||||
if (!seq || !sync)
|
||||
@ -352,6 +353,7 @@ int snd_seq_set_queue_sync(snd_seq_t *seq, int q, snd_seq_queue_sync_t * sync)
|
||||
return -errno;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int snd_seq_get_queue_client(snd_seq_t *seq, int q, snd_seq_queue_client_t * info)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user