Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Aug 2005 12:05:10 +0200
From:      Karel Miklav <karel@inetis.com>
To:        Jacob Meuser <jakemsr@jakemsr.com>,  freebsd-multimedia@freebsd.org
Cc:        Roger Hardiman <roger@freebsd.org>, Amancio Hasty Jr <hasty@netcom.com>
Subject:   Re: xawtv questions
Message-ID:  <42F096D6.7030603@inetis.com>
In-Reply-To: <20050803070506.GD1823@puff.jakemsr.gom>
References:  <20050729181650.27cd6f1c@it.buh.cameradicommercio.ro>	<42EDB8F6.1090807@inetis.com>	<20050801120559.68b055d2@it.buh.tecnik93.com>	<42EF0787.7090800@inetis.com> <20050803070506.GD1823@puff.jakemsr.gom>

next in thread | previous in thread | raw e-mail | index | archive | help
Jacob Meuser wrote:
> On Tue, Aug 02, 2005 at 07:41:27AM +0200, Karel Miklav wrote:
> 
>>Ion-Mihai Tetcu wrote:
>>
>>>>>- I have to select select each time the sound source 
>>>>>(internal/external since tuner doesn't seem to provide anything);
>>>>>I haven't found a way to set the sound source in xawtv docs.
>>>>
>>>>There's nothing in the docs, I guess it just works for some cards.
>>>>I made a little change in the sources, if you want to see it I can
>>>>send it later.
>>>
>>>Please do. I start looking in the sources, both motv and bktr, but
>>>I'm still missing something (actually I know how to force audio
>>>source modifying bktr sources, which "strangely" are easier to
>>>understand but that isn't the right solution).
>>
>>When input on bktr driver is changed, audio on some cards seem to be
>>reset. I'm not shure whether this is intentional or not as I didn't
>>threw my eyes on the driver itself yet. Anyway, a small change in
>>file drv0-bsd.c at function bsd_write_attr() helps:
>>
>>      case ATTR_ID_INPUT:
>>         xioctl(h->fd,METEORSINPUT,&inputs_map[value]);
>>         xioctl(h->tfd, BT848_SAUDIO, &audio_map[2]);  // fix
>>         break;
>>
>>First ioctl changes video input and does something undefined to the
>>audio channel.
> 
> look in bktr_core.c.  METEORSINPUT sets the audio channel as well.
> 
> I never noticed that before.  it strikes me as curious behaviour,
> since METEORSINPUT is for setting the video source, and there is a
> separate ioctl for setting the audio source.  maybe I do want to
> continue with audio from the tuner and switch to audio from the
> RCA input without a break in the audio ...

That's my reasoning too. Maybe Amancio or Roger has something to
say about it?

-- 

Regards,
Karel Miklav




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42F096D6.7030603>