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:
Jaroslav Kysela 2001-04-13 10:54:56 +00:00
parent edaf7fdf2c
commit c4f95f48c3
13 changed files with 549 additions and 2 deletions

View file

@ -195,6 +195,7 @@ int snd_pcm_plug_open_hw(snd_pcm_t **pcm, const char *name, int card, int device
int snd_pcm_shm_open(snd_pcm_t **pcmp, const char *name, const char *sockname, const char *sname, snd_pcm_stream_t stream, int mode);
int snd_pcm_file_open(snd_pcm_t **pcmp, const char *name, const char *fname, int fd, const char *fmt, snd_pcm_t *slave, int close_slave);
int snd_pcm_null_open(snd_pcm_t **pcmp, const char *name, snd_pcm_stream_t stream, int mode);
int snd_pcm_surround_open(snd_pcm_t **pcmp, const char *name, int card, int device, snd_pcm_surround_type_t type, snd_pcm_stream_t stream, int mode);
void snd_pcm_areas_from_buf(snd_pcm_t *pcm, snd_pcm_channel_area_t *areas, void *buf);