C# Class FG.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Application
Afficher le fichier Open project: shendongnian/code

Méthodes publiques

Méthode Description
App ( )

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

InitAudioGraph ( ) : Task

Méthodes protégées

Méthode Description
OnLaunched ( LaunchActivatedEventArgs e ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.

Private Methods

Méthode Description
CreateDeviceOutputNode ( ) : Task
CreateFrameInputNode ( ) : void
GenerateAudioData ( uint samples ) : AudioFrame
OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

StartNoise ( ) : void
StopNoise ( ) : void
node_QuantumStarted ( AudioFrameInputNode sender, FrameInputNodeQuantumStartedEventArgs args ) : void
setPitch ( float value ) : void

Method Details

App() public méthode

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( )

InitAudioGraph() public méthode

public InitAudioGraph ( ) : Task
Résultat Task

OnLaunched() protected méthode

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
protected OnLaunched ( LaunchActivatedEventArgs e ) : void
e LaunchActivatedEventArgs Details about the launch request and process.
Résultat void