mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
More control/mixer API updates.
Added highlevel control layer. Recoded simple control mixer API.
This commit is contained in:
parent
72fa3cc203
commit
f5d6fdeba8
8 changed files with 797 additions and 277 deletions
|
|
@ -28,15 +28,11 @@
|
|||
#include <sys/ioctl.h>
|
||||
#include <assert.h>
|
||||
#include "asoundlib.h"
|
||||
#include "control_local.h"
|
||||
|
||||
#define SND_FILE_CONTROL "/dev/snd/controlC%i"
|
||||
#define SND_CTL_VERSION_MAX SND_PROTOCOL_VERSION(2, 0, 0)
|
||||
|
||||
struct snd_ctl {
|
||||
int card;
|
||||
int fd;
|
||||
};
|
||||
|
||||
int snd_ctl_open(snd_ctl_t **handle, int card)
|
||||
{
|
||||
int fd, ver;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue