Ejemplo n.º 1
0
        /// <summary>
        /// Allocates a new instance of TvDvbChannel which handles the new subchannel
        /// </summary>
        /// <returns>handle for to the subchannel</returns>
        protected int GetNewSubChannel(IChannel channel)
        {
            int id = _subChannelId++;

            Log.Log.Info("analog:GetNewSubChannel:{0} #{1}", _mapSubChannels.Count, id);

            AnalogSubChannel subChannel = new AnalogSubChannel(this, id, _tvAudio, _capture.SupportsTeletext, _tsFileSink);

            _mapSubChannels[id] = subChannel;
            return(id);
        }
Ejemplo n.º 2
0
    /// <summary>
    /// Allocates a new instance of TvDvbChannel which handles the new subchannel
    /// </summary>
    /// <returns>handle for to the subchannel</returns>
    protected int GetNewSubChannel(IChannel channel)
    {
      int id = _subChannelId++;
      Log.Log.Info("analog:GetNewSubChannel:{0} #{1}", _mapSubChannels.Count, id);

      AnalogSubChannel subChannel = new AnalogSubChannel(this, id, _tvAudio, _capture.SupportsTeletext, _tsFileSink);
      _mapSubChannels[id] = subChannel;
      return id;
    }