mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
fixes by Art Haas <ahaas@airmail.net>:
rewritten with C99 struct initialization style.
This commit is contained in:
parent
c18c32b26c
commit
7716fd1e3d
33 changed files with 762 additions and 762 deletions
|
|
@ -622,41 +622,41 @@ static void snd_pcm_dshare_dump(snd_pcm_t *pcm, snd_output_t *out)
|
|||
}
|
||||
|
||||
static snd_pcm_ops_t snd_pcm_dshare_ops = {
|
||||
close: snd_pcm_dshare_close,
|
||||
info: snd_pcm_dshare_info,
|
||||
hw_refine: snd_pcm_dshare_hw_refine,
|
||||
hw_params: snd_pcm_dshare_hw_params,
|
||||
hw_free: snd_pcm_dshare_hw_free,
|
||||
sw_params: snd_pcm_dshare_sw_params,
|
||||
channel_info: snd_pcm_dshare_channel_info,
|
||||
dump: snd_pcm_dshare_dump,
|
||||
nonblock: snd_pcm_dshare_nonblock,
|
||||
async: snd_pcm_dshare_async,
|
||||
poll_revents: snd_pcm_dshare_poll_revents,
|
||||
mmap: snd_pcm_dshare_mmap,
|
||||
munmap: snd_pcm_dshare_munmap,
|
||||
.close = snd_pcm_dshare_close,
|
||||
.info = snd_pcm_dshare_info,
|
||||
.hw_refine = snd_pcm_dshare_hw_refine,
|
||||
.hw_params = snd_pcm_dshare_hw_params,
|
||||
.hw_free = snd_pcm_dshare_hw_free,
|
||||
.sw_params = snd_pcm_dshare_sw_params,
|
||||
.channel_info = snd_pcm_dshare_channel_info,
|
||||
.dump = snd_pcm_dshare_dump,
|
||||
.nonblock = snd_pcm_dshare_nonblock,
|
||||
.async = snd_pcm_dshare_async,
|
||||
.poll_revents = snd_pcm_dshare_poll_revents,
|
||||
.mmap = snd_pcm_dshare_mmap,
|
||||
.munmap = snd_pcm_dshare_munmap,
|
||||
};
|
||||
|
||||
static snd_pcm_fast_ops_t snd_pcm_dshare_fast_ops = {
|
||||
status: snd_pcm_dshare_status,
|
||||
state: snd_pcm_dshare_state,
|
||||
hwsync: snd_pcm_dshare_hwsync,
|
||||
delay: snd_pcm_dshare_delay,
|
||||
prepare: snd_pcm_dshare_prepare,
|
||||
reset: snd_pcm_dshare_reset,
|
||||
start: snd_pcm_dshare_start,
|
||||
drop: snd_pcm_dshare_drop,
|
||||
drain: snd_pcm_dshare_drain,
|
||||
pause: snd_pcm_dshare_pause,
|
||||
rewind: snd_pcm_dshare_rewind,
|
||||
forward: snd_pcm_dshare_forward,
|
||||
resume: snd_pcm_dshare_resume,
|
||||
writei: snd_pcm_mmap_writei,
|
||||
writen: snd_pcm_mmap_writen,
|
||||
readi: snd_pcm_dshare_readi,
|
||||
readn: snd_pcm_dshare_readn,
|
||||
avail_update: snd_pcm_dshare_avail_update,
|
||||
mmap_commit: snd_pcm_dshare_mmap_commit,
|
||||
.status = snd_pcm_dshare_status,
|
||||
.state = snd_pcm_dshare_state,
|
||||
.hwsync = snd_pcm_dshare_hwsync,
|
||||
.delay = snd_pcm_dshare_delay,
|
||||
.prepare = snd_pcm_dshare_prepare,
|
||||
.reset = snd_pcm_dshare_reset,
|
||||
.start = snd_pcm_dshare_start,
|
||||
.drop = snd_pcm_dshare_drop,
|
||||
.drain = snd_pcm_dshare_drain,
|
||||
.pause = snd_pcm_dshare_pause,
|
||||
.rewind = snd_pcm_dshare_rewind,
|
||||
.forward = snd_pcm_dshare_forward,
|
||||
.resume = snd_pcm_dshare_resume,
|
||||
.writei = snd_pcm_mmap_writei,
|
||||
.writen = snd_pcm_mmap_writen,
|
||||
.readi = snd_pcm_dshare_readi,
|
||||
.readn = snd_pcm_dshare_readn,
|
||||
.avail_update = snd_pcm_dshare_avail_update,
|
||||
.mmap_commit = snd_pcm_dshare_mmap_commit,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue