C# 클래스 Nanook.TheGhost.ProjectBackgroundAudio

상속: ISettingsChange
파일 보기 프로젝트 열기: Nanook/TheGHOST

공개 메소드들

메소드 설명
CreateAudioFile ( string filename ) : AudioFile
CreateAudioFile ( string filename, int volume ) : AudioFile
CreatePreview ( bool finalise ) : void

Create the preview to disk

Export ( bool forceMono, int forceDownSample ) : void
HasMissingRawAudio ( ) : bool

Call to determin if source audio is still to be decoded, calling Import() will decode it.

Import ( ) : void

Add files to the AudioFiles list before calling import

ProjectBackgroundAudio ( Project project, DatWad datWad, DatItem datItem ) : System
RemoveFiles ( ) : void
ReplaceInWad ( ) : void
SetSafePreviewSettings ( ) : bool

Sets the internal preview start, length and fadelength to safe values (start + length is not longer than audiolength etc)

비공개 메소드들

메소드 설명
AudioFileListChanged ( AudioFileList sender, AudioFileChangeType type, AudioFile from, AudioFile to, int index ) : void
ISettingsChange ( ) : void
setSafePreviewSettings ( int offset, int length, int fadeLength, int volume ) : bool

Ensures that all inputs are withing safe limits

메소드 상세

CreateAudioFile() 공개 메소드

public CreateAudioFile ( string filename ) : AudioFile
filename string
리턴 AudioFile

CreateAudioFile() 공개 메소드

public CreateAudioFile ( string filename, int volume ) : AudioFile
filename string
volume int
리턴 AudioFile

CreatePreview() 공개 메소드

Create the preview to disk
public CreatePreview ( bool finalise ) : void
finalise bool Set to true if audio on disk has had the final volumes applied (therefore volumes should be 100%)
리턴 void

Export() 공개 메소드

public Export ( bool forceMono, int forceDownSample ) : void
forceMono bool
forceDownSample int
리턴 void

HasMissingRawAudio() 공개 메소드

Call to determin if source audio is still to be decoded, calling Import() will decode it.
public HasMissingRawAudio ( ) : bool
리턴 bool

Import() 공개 메소드

Add files to the AudioFiles list before calling import
public Import ( ) : void
리턴 void

ProjectBackgroundAudio() 공개 메소드

public ProjectBackgroundAudio ( Project project, DatWad datWad, DatItem datItem ) : System
project Project
datWad DatWad
datItem DatItem
리턴 System

RemoveFiles() 공개 메소드

public RemoveFiles ( ) : void
리턴 void

ReplaceInWad() 공개 메소드

public ReplaceInWad ( ) : void
리턴 void

SetSafePreviewSettings() 공개 메소드

Sets the internal preview start, length and fadelength to safe values (start + length is not longer than audiolength etc)
public SetSafePreviewSettings ( ) : bool
리턴 bool