mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Moved some info fields to proper place (setup). Renamed mmap_size to mmap_bytes. Added detailed fail report to params_t. Added params_info to API.
This commit is contained in:
parent
875aed990f
commit
cc79e0c6ea
8 changed files with 271 additions and 109 deletions
|
|
@ -84,6 +84,14 @@ int snd_pcm_info(snd_pcm_t *handle, snd_pcm_info_t *info)
|
|||
return handle->ops->info(handle->private, info);
|
||||
}
|
||||
|
||||
int snd_pcm_params_info(snd_pcm_t *handle, snd_pcm_params_info_t *info)
|
||||
{
|
||||
assert(handle && info);
|
||||
/* Here we pass private and not op_arg.
|
||||
FIXME: find a better solution */
|
||||
return handle->ops->params_info(handle->private, info);
|
||||
}
|
||||
|
||||
int snd_pcm_setup(snd_pcm_t *handle, snd_pcm_setup_t *setup)
|
||||
{
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue