/// <summary> /// Allocates a new instance of HDPVRChannel which handles the new subchannel /// </summary> /// <returns>handle for to the subchannel</returns> private Int32 GetNewSubChannel(IChannel channel) { int id = _subChannelId++; Log.Log.Info("HDPVR: GetNewSubChannel:{0} #{1}", _mapSubChannels.Count, id); HDPVRChannel subChannel = new HDPVRChannel(this, _deviceType, id, _filterTsWriter, _graphBuilder); subChannel.Parameters = Parameters; subChannel.CurrentChannel = channel; _mapSubChannels[id] = subChannel; return(id); }
/// <summary> /// Allocates a new instance of HDPVRChannel which handles the new subchannel /// </summary> /// <returns>handle for to the subchannel</returns> private Int32 GetNewSubChannel(IChannel channel) { int id = _subChannelId++; Log.Log.Info("HDPVR: GetNewSubChannel:{0} #{1}", _mapSubChannels.Count, id); HDPVRChannel subChannel = new HDPVRChannel(this, _deviceType, id, _filterTsWriter, _graphBuilder); subChannel.Parameters = Parameters; subChannel.CurrentChannel = channel; _mapSubChannels[id] = subChannel; return id; }