Crosstales.DJ.Tool.RecordSaver Class Reference
Saves the records of a player as audio files in the WAV-format. NOTE: Works only for MP3 and OGG files. More...
Inheritance diagram for Crosstales.DJ.Tool.RecordSaver:
Public Member Functions | |
void | SaveFile (System.IO.Stream stream, string fname=null) |
Saves a PCM audio stream to a file. More... | |
void | SaveFile (byte[] data, string fname=null) |
Saves a PCM audio byte-array to a file. More... | |
Properties | |
Crosstales.DJ.BasePlayer | Player [get, set] |
Origin Player. More... | |
bool | SilenceSource [get, set] |
Silence the origin. More... | |
string | OutputPath [get, set] |
Output path for the audio files. More... | |
Detailed Description
Saves the records of a player as audio files in the WAV-format. NOTE: Works only for MP3 and OGG files.
Member Function Documentation
◆ SaveFile() [1/2]
void Crosstales.DJ.Tool.RecordSaver.SaveFile | ( | byte[] | data, |
string | fname = null |
||
) |
Saves a PCM audio byte-array to a file.
- Parameters
-
data Byte-array with the audio data. fname File name without path (optional).
◆ SaveFile() [2/2]
void Crosstales.DJ.Tool.RecordSaver.SaveFile | ( | System.IO.Stream | stream, |
string | fname = null |
||
) |
Saves a PCM audio stream to a file.
- Parameters
-
stream Stream with the audio data. fname File name without path (optional).
Property Documentation
◆ OutputPath
|
getset |
Output path for the audio files.
◆ Player
|
getset |
Origin Player.
◆ SilenceSource
|
getset |
Silence the origin.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/DJPro/DJPro/Assets/Plugins/crosstales/DJ/Extras/RecordSaver/Scripts/RecordSaver.cs