mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-28 01:40:08 -05:00
pcm: direct - move the direct struct init to _snd_pcm_direct_new()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
446777c67e
commit
27f4a85a95
5 changed files with 78 additions and 131 deletions
|
|
@ -365,3 +365,7 @@ struct snd_pcm_direct_open_conf {
|
|||
};
|
||||
|
||||
int snd_pcm_direct_parse_open_conf(snd_config_t *root, snd_config_t *conf, int stream, struct snd_pcm_direct_open_conf *rec);
|
||||
|
||||
int _snd_pcm_direct_new(snd_pcm_t **pcmp, snd_pcm_direct_t **_dmix, int type,
|
||||
const char *name, struct snd_pcm_direct_open_conf *opts,
|
||||
struct slave_params *params, snd_pcm_stream_t stream, int mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue