mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added the surround plugin to allow simple access for 4.0 and 5.1 speakers.
It needs a bit more work to make it functional.
This commit is contained in:
parent
edaf7fdf2c
commit
c4f95f48c3
13 changed files with 549 additions and 2 deletions
|
|
@ -89,6 +89,7 @@ typedef struct {
|
|||
#define SND_CTL_IOCTL_CLOSE _IO ('U', 0xf2)
|
||||
#define SND_CTL_IOCTL_POLL_DESCRIPTOR _IO ('U', 0xf3)
|
||||
#define SND_CTL_IOCTL_ASYNC _IO ('U', 0xf4)
|
||||
#define SND_CTL_IOCTL_PCM_SURROUND_NEXT_DEVICE _IO ('U', 0xf5)
|
||||
|
||||
typedef struct {
|
||||
int result;
|
||||
|
|
@ -99,6 +100,10 @@ typedef struct {
|
|||
pid_t pid;
|
||||
} async;
|
||||
int device;
|
||||
struct {
|
||||
int type;
|
||||
int device;
|
||||
} surround;
|
||||
int subscribe_events;
|
||||
snd_ctl_card_info_t card_info;
|
||||
snd_ctl_elem_list_t element_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue