|
| virtual bool | CheckAudioDeviceChange () |
| | Check if audio device changed if applicable. 更多...
|
| |
|
virtual bool | CloseAudioStream ()=0 |
| | Closes the audio stream (if it's open).
|
| |
|
virtual ICompressedAudioInfo * | CreateCompressedAudioInfo (USoundWave *SoundWave)=0 |
| | Creates a Compressed audio info class suitable for decompressing this SoundWave.
|
| |
| virtual bool | DisablePCMAudioCaching () const |
| | Whether or not the platform disables caching of decompressed PCM data (i.e. 更多...
|
| |
| virtual void | FadeIn () |
| | Reset the fade state (use if reusing audio platform interface, e.g. 更多...
|
| |
| virtual void | FadeOut () |
| | Start a fadeout. 更多...
|
| |
|
virtual FString | GetCurrentDeviceName () |
| | Returns the name of the currently used audio device.
|
| |
|
virtual FString | GetDefaultDeviceName ()=0 |
| | Return any optional device name defined in platform configuratio.
|
| |
|
virtual bool | GetDefaultOutputDeviceIndex (uint32 &OutDefaultDeviceIndex) const |
| | Returns the default device index.
|
| |
| virtual int32 | GetIndexForDevice (const FString &InDeviceName) |
| | Can be used to look up the current index for a given device name. 更多...
|
| |
|
FString | GetLastError () const |
| | Returns the last error generated.
|
| |
| virtual int32 | GetNumFrames (const int32 InNumReqestedFrames) |
| | Allows platforms to filter the requested number of frames to render. 更多...
|
| |
|
virtual bool | GetNumOutputDevices (uint32 &OutNumOutputDevices) |
| | Returns the number of output devices.
|
| |
|
virtual bool | GetOutputDeviceInfo (const uint32 InDeviceIndex, FAudioPlatformDeviceInfo &OutInfo)=0 |
| | Gets the device information of the given device index.
|
| |
|
virtual EAudioMixerPlatformApi::Type | GetPlatformApi () const =0 |
| | Returns the platform API enumeration.
|
| |
|
virtual FAudioPlatformDeviceInfo | GetPlatformDeviceInfo () const =0 |
| | Returns the platform device info of the currently open audio stream.
|
| |
|
virtual FAudioPlatformSettings | GetPlatformSettings () const =0 |
| | Gets the platform specific audio settings.
|
| |
|
virtual FName | GetRuntimeFormat (USoundWave *InSoundWave)=0 |
| | Returns the name of the format of the input sound wave.
|
| |
| virtual class FSingleThreadRunnable * | GetSingleThreadInterface () override |
| | FSingleThreadRunnable accessor for ticking this FRunnable when multi-threading is disabled. 更多...
|
| |
|
virtual bool | HasCompressedAudioInfoClass (USoundWave *InSoundWave)=0 |
| | Checks if the platform has a compressed audio format for sound waves.
|
| |
|
| IAudioMixerPlatformInterface () |
| | Constructor.
|
| |
|
virtual bool | InitializeHardware ()=0 |
| | Initialize the hardware.
|
| |
|
virtual bool | IsInitialized () const =0 |
| | Is the hardware initialized.
|
| |
| virtual bool | IsNonRealtime () const |
| | Whether this is an interface for a non-realtime renderer. 更多...
|
| |
|
virtual bool | MoveAudioStreamToNewAudioDevice (const FString &InNewDeviceId) |
| | Resets the audio stream to use a new audio device with the given device ID (empty string means default).
|
| |
|
virtual bool | OpenAudioStream (const FAudioMixerOpenStreamParams &Params)=0 |
| | Opens up a new audio stream with the given parameters.
|
| |
|
void | PostInitializeHardware () |
| | This is called after InitializeHardware() is called.
|
| |
|
void | ReadNextBuffer () |
| | Retrieves the next generated buffer and feeds it to the platform mixer output stream.
|
| |
|
virtual void | ResumePlaybackOnNewDevice () |
| | Resumes playback on new audio device after device change.
|
| |
| uint32 | Run () override |
| | Runs the runnable object. 更多...
|
| |
|
virtual bool | StartAudioStream ()=0 |
| | Starts the audio stream processing and generating audio.
|
| |
|
virtual bool | StopAudioStream ()=0 |
| | Stops the audio stream (but keeps the audio stream open).
|
| |
|
virtual void | SubmitBuffer (const uint8 *Buffer) |
| | Submit the given buffer to the platform's output audio device.
|
| |
|
virtual bool | SupportsHardwareDecompression () const |
| | Whether or not this platform has hardware decompression.
|
| |
|
virtual bool | SupportsRealtimeDecompression () const |
| | Whether or not the platform supports realtime decompression.
|
| |
|
virtual bool | TeardownHardware ()=0 |
| | Teardown the hardware.
|
| |
|
virtual | ~IAudioMixerPlatformInterface () |
| | Virtual destructor.
|
| |
| virtual void | Exit () |
| | Exits the runnable object. 更多...
|
| |
| virtual class FSingleThreadRunnable * | GetSingleThreadInterface () |
| | Gets single thread interface pointer used for ticking this runnable when multi-threading is disabled. 更多...
|
| |
| virtual bool | Init () |
| | Initializes the runnable object. 更多...
|
| |
| virtual uint32 | Run ()=0 |
| | Runs the runnable object. 更多...
|
| |
| virtual void | Stop () |
| | Stops the runnable object. 更多...
|
| |
|
virtual | ~FRunnable () |
| | Virtual destructor
|
| |
Abstract interface for mixer platform.