Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Synthesis / VisemeEventArgs.cs / 1 / VisemeEventArgs.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- #if !SPEECHSERVER namespace System.Speech.Synthesis { ////// TODOC /// public class VisemeReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors ////// TODOC /// /// /// /// /// /// /// internal VisemeReachedEventArgs (Prompt speakPrompt, int currentViseme, TimeSpan audioPosition, TimeSpan duration, SynthesizerEmphasis emphasis, int nextViseme) : base(speakPrompt) { _currentViseme = currentViseme; _audioPosition = audioPosition; _duration = duration; _emphasis = emphasis; _nextViseme = nextViseme; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// ///public int Viseme { get { return _currentViseme; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } /// /// TODOC /// ///public TimeSpan Duration { get { return _duration; } } /// /// TODOC /// ///public SynthesizerEmphasis Emphasis { get { return _emphasis; } } /// /// TODOC /// ///public int NextViseme { get { return _nextViseme; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields // Current Viseme being synthesized private int _currentViseme; // Audio position of current phoneme private TimeSpan _audioPosition; // Duration of current Viseme private TimeSpan _duration; // Features of the current phoneme private SynthesizerEmphasis _emphasis; // Next Viseme to be synthesized private int _nextViseme; #endregion } } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- #if !SPEECHSERVER namespace System.Speech.Synthesis { ////// TODOC /// public class VisemeReachedEventArgs : PromptEventArgs { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors ////// TODOC /// /// /// /// /// /// /// internal VisemeReachedEventArgs (Prompt speakPrompt, int currentViseme, TimeSpan audioPosition, TimeSpan duration, SynthesizerEmphasis emphasis, int nextViseme) : base(speakPrompt) { _currentViseme = currentViseme; _audioPosition = audioPosition; _duration = duration; _emphasis = emphasis; _nextViseme = nextViseme; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// ///public int Viseme { get { return _currentViseme; } } /// /// TODOC /// ///public TimeSpan AudioPosition { get { return _audioPosition; } } /// /// TODOC /// ///public TimeSpan Duration { get { return _duration; } } /// /// TODOC /// ///public SynthesizerEmphasis Emphasis { get { return _emphasis; } } /// /// TODOC /// ///public int NextViseme { get { return _nextViseme; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields // Current Viseme being synthesized private int _currentViseme; // Audio position of current phoneme private TimeSpan _audioPosition; // Duration of current Viseme private TimeSpan _duration; // Features of the current phoneme private SynthesizerEmphasis _emphasis; // Next Viseme to be synthesized private int _nextViseme; #endregion } } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SerialPort.cs
- DispatcherObject.cs
- SortableBindingList.cs
- NonSerializedAttribute.cs
- SqlExpressionNullability.cs
- ConfigXmlWhitespace.cs
- GeometryDrawing.cs
- RequiredFieldValidator.cs
- SQLBoolean.cs
- CodeStatement.cs
- WebPartManagerInternals.cs
- Version.cs
- Single.cs
- PersonalizationStateQuery.cs
- ELinqQueryState.cs
- ViewBase.cs
- DataRow.cs
- CreateUserWizardStep.cs
- BufferedConnection.cs
- ProtocolsConfigurationEntry.cs
- XmlWellformedWriter.cs
- InfoCardTrace.cs
- GPRECTF.cs
- GenericRootAutomationPeer.cs
- CompiledQueryCacheKey.cs
- EventLog.cs
- InkCollectionBehavior.cs
- XmlCodeExporter.cs
- BoundColumn.cs
- DataBoundLiteralControl.cs
- ProgressBar.cs
- WeakReferenceKey.cs
- TCPListener.cs
- CmsInterop.cs
- DataTableReader.cs
- SerializationException.cs
- ObjectSelectorEditor.cs
- ISAPIWorkerRequest.cs
- LocationUpdates.cs
- RoutedCommand.cs
- ManualResetEvent.cs
- NetworkInformationPermission.cs
- PerformanceCountersElement.cs
- AssemblyResourceLoader.cs
- GlobalProxySelection.cs
- XMLUtil.cs
- ComplexType.cs
- ValidatorCompatibilityHelper.cs
- CodeCommentStatement.cs
- HandlerWithFactory.cs
- GridItem.cs
- FixedPageProcessor.cs
- AuthenticationService.cs
- NetworkStream.cs
- SQLGuidStorage.cs
- SwitchCase.cs
- EditorPart.cs
- Inflater.cs
- ParseHttpDate.cs
- VariableAction.cs
- Debugger.cs
- SizeChangedEventArgs.cs
- DesignerDataStoredProcedure.cs
- ServiceNotStartedException.cs
- UncommonField.cs
- TextCompositionManager.cs
- PolyLineSegment.cs
- EventMappingSettings.cs
- SafeLibraryHandle.cs
- OleDbDataReader.cs
- WebServiceMethodData.cs
- DataPagerField.cs
- ValuePattern.cs
- PngBitmapEncoder.cs
- SchemaHelper.cs
- BaseDataListComponentEditor.cs
- PersonalizablePropertyEntry.cs
- HttpRuntimeSection.cs
- FormViewInsertEventArgs.cs
- XmlReflectionMember.cs
- ClientSideQueueItem.cs
- SecurityContextCookieSerializer.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- WebUtil.cs
- SynchronizationContext.cs
- HttpConfigurationContext.cs
- InfoCardTraceRecord.cs
- ByteArrayHelperWithString.cs
- EnumerableRowCollectionExtensions.cs
- CustomDictionarySources.cs
- NoResizeSelectionBorderGlyph.cs
- TCEAdapterGenerator.cs
- GroupDescription.cs
- ObjectComplexPropertyMapping.cs
- _OSSOCK.cs
- GridPattern.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- WmfPlaceableFileHeader.cs
- IfAction.cs
- MimeObjectFactory.cs