mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -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
|
|
@ -843,40 +843,40 @@ static void snd_pcm_hw_dump(snd_pcm_t *pcm, snd_output_t *out)
|
|||
}
|
||||
|
||||
static snd_pcm_ops_t snd_pcm_hw_ops = {
|
||||
close: snd_pcm_hw_close,
|
||||
info: snd_pcm_hw_info,
|
||||
hw_refine: snd_pcm_hw_hw_refine,
|
||||
hw_params: snd_pcm_hw_hw_params,
|
||||
hw_free: snd_pcm_hw_hw_free,
|
||||
sw_params: snd_pcm_hw_sw_params,
|
||||
channel_info: snd_pcm_hw_channel_info,
|
||||
dump: snd_pcm_hw_dump,
|
||||
nonblock: snd_pcm_hw_nonblock,
|
||||
async: snd_pcm_hw_async,
|
||||
mmap: snd_pcm_hw_mmap,
|
||||
munmap: snd_pcm_hw_munmap,
|
||||
.close = snd_pcm_hw_close,
|
||||
.info = snd_pcm_hw_info,
|
||||
.hw_refine = snd_pcm_hw_hw_refine,
|
||||
.hw_params = snd_pcm_hw_hw_params,
|
||||
.hw_free = snd_pcm_hw_hw_free,
|
||||
.sw_params = snd_pcm_hw_sw_params,
|
||||
.channel_info = snd_pcm_hw_channel_info,
|
||||
.dump = snd_pcm_hw_dump,
|
||||
.nonblock = snd_pcm_hw_nonblock,
|
||||
.async = snd_pcm_hw_async,
|
||||
.mmap = snd_pcm_hw_mmap,
|
||||
.munmap = snd_pcm_hw_munmap,
|
||||
};
|
||||
|
||||
static snd_pcm_fast_ops_t snd_pcm_hw_fast_ops = {
|
||||
status: snd_pcm_hw_status,
|
||||
state: snd_pcm_hw_state,
|
||||
hwsync: snd_pcm_hw_hwsync,
|
||||
delay: snd_pcm_hw_delay,
|
||||
prepare: snd_pcm_hw_prepare,
|
||||
reset: snd_pcm_hw_reset,
|
||||
start: snd_pcm_hw_start,
|
||||
drop: snd_pcm_hw_drop,
|
||||
drain: snd_pcm_hw_drain,
|
||||
pause: snd_pcm_hw_pause,
|
||||
rewind: snd_pcm_hw_rewind,
|
||||
forward: snd_pcm_hw_forward,
|
||||
resume: snd_pcm_hw_resume,
|
||||
writei: snd_pcm_hw_writei,
|
||||
writen: snd_pcm_hw_writen,
|
||||
readi: snd_pcm_hw_readi,
|
||||
readn: snd_pcm_hw_readn,
|
||||
avail_update: snd_pcm_hw_avail_update,
|
||||
mmap_commit: snd_pcm_hw_mmap_commit,
|
||||
.status = snd_pcm_hw_status,
|
||||
.state = snd_pcm_hw_state,
|
||||
.hwsync = snd_pcm_hw_hwsync,
|
||||
.delay = snd_pcm_hw_delay,
|
||||
.prepare = snd_pcm_hw_prepare,
|
||||
.reset = snd_pcm_hw_reset,
|
||||
.start = snd_pcm_hw_start,
|
||||
.drop = snd_pcm_hw_drop,
|
||||
.drain = snd_pcm_hw_drain,
|
||||
.pause = snd_pcm_hw_pause,
|
||||
.rewind = snd_pcm_hw_rewind,
|
||||
.forward = snd_pcm_hw_forward,
|
||||
.resume = snd_pcm_hw_resume,
|
||||
.writei = snd_pcm_hw_writei,
|
||||
.writen = snd_pcm_hw_writen,
|
||||
.readi = snd_pcm_hw_readi,
|
||||
.readn = snd_pcm_hw_readn,
|
||||
.avail_update = snd_pcm_hw_avail_update,
|
||||
.mmap_commit = snd_pcm_hw_mmap_commit,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue