Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 1999 15:26:34 -0400
From:      Randall Hopper <aa8vb@ipass.net>
To:        Jukka Simila <sjuke@saunalahti.fi>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: hauppauge remote
Message-ID:  <19991003152634.A15810@ipass.net>
In-Reply-To: <XFMail.991003175049.sjuke@saunalahti.fi>
References:  <XFMail.991003175049.sjuke@saunalahti.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
Jukka Simila:
 |Could someone show some example code on muting the audio of a bt878 -card?
 |I made some time ago a remote-application based on that demo program I saw
 |here, but every time I start it it will open the audio also and I don't want
 |that.. I wasn't able to solve the problem by reading the sources of fxtv. too
 |complicated :)

    
    /* Input: */ 
    int tuner_fd, mute_flag;             

    int arg = ( mute_flag ? AUDIO_MUTE : AUDIO_UNMUTE );

    if ( ioctl( tuner_fd, BT848_SAUDIO, &arg ) < 0 )
        perror( "BT848_SAUDIO" )

Randall



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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