[mythtv] audio channel

David Hunnisett mythtv-dev@snowman.net
Tue, 1 Oct 2002 00:22:51 +0100


After yet more hacking i still dont have working audio :( 
if i run ythtv after using xawtv to tune into a channel everything is
fine until i change channel. After that i have the correct sound faintly and there is a lot of hissing over the top however 
Iwas wondering if there was any way to get mythtv to set the audio mode
eg 
stero
mono
bass and treble controls etc.
from videodev.h
struct video_audio
{
	int	audio;		/* Audio channel */
	__u16	volume;		/* If settable */
	__u16	bass, treble;
	__u32	flags;
	#define VIDEO_AUDIO_MUTE	1
	#define VIDEO_AUDIO_MUTABLE	2
	#define VIDEO_AUDIO_VOLUME	4
	#define VIDEO_AUDIO_BASS	8
	#define VIDEO_AUDIO_TREBLE	16	
	char    name[16];
	#define VIDEO_SOUND_MONO	1
	#define VIDEO_SOUND_STEREO	2
	#define VIDEO_SOUND_LANG1	4
	#define VIDEO_SOUND_LANG2	8
	__u16   mode;
	__u16	balance;		/* Stereo * balance */
	__u16	step;			/* Step actual volume uses */
};
hope fully i can then use this to fix the audio problem that i have ?