ac3dec - Add -H option for HDMI

The HD-audio can have an independent HDMI PCM device via "hdmi".
The option -H is for using hdmi instead of spdif.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2008-10-24 09:24:32 +02:00
parent 0478bb19e1
commit 1ffbd0ab28
3 changed files with 20 additions and 3 deletions

View file

@ -30,7 +30,8 @@ typedef struct {
int bits;
int rate;
int channels;
int quiet: 1;
unsigned int quiet: 1;
unsigned int hdmi: 1;
enum {SPDIF_NONE = 0, SPDIF_CON, SPDIF_PRO, SPDIF_PCM} spdif;
} output_t;