Class ShntoolAudioUtility
Shntool audio Utility wrapper.
Implements
Inherited Members
Namespace: Acoustics.Tools.Audio
Assembly: Acoustics.Tools.dll
Syntax
[Obsolete("No longer have need of shntool")]
public class ShntoolAudioUtility : AbstractAudioUtility, IAudioUtility
Remarks
see: http://www.etree.org/shnutils/shntool/ for more info.
Constructors
| Improve this Doc View SourceShntoolAudioUtility(FileInfo)
Initializes a new instance of the Shntool
Declaration
public ShntoolAudioUtility(FileInfo shntoolExe)
Parameters
Type | Name | Description |
---|---|---|
File |
shntoolExe | The shntool exe. |
Exceptions
Type | Condition |
---|---|
File |
Could not find exe. |
Argument |
|
ShntoolAudioUtility(FileInfo, DirectoryInfo)
Initializes a new instance of the Shntool
Declaration
public ShntoolAudioUtility(FileInfo shntoolExe, DirectoryInfo temporaryFilesDirectory)
Parameters
Type | Name | Description |
---|---|---|
File |
shntoolExe | The shntool exe. |
Directory |
temporaryFilesDirectory |
Exceptions
Type | Condition |
---|---|
File |
Could not find exe. |
Argument |
|
Properties
| Improve this Doc View SourceInvalidOutputMediaTypes
Gets the invalid output media types.
Declaration
protected override IEnumerable<string> InvalidOutputMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
| Improve this Doc View SourceInvalidSourceMediaTypes
Gets the invalid source media types.
Declaration
protected override IEnumerable<string> InvalidSourceMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
| Improve this Doc View SourceValidOutputMediaTypes
Gets the valid output media types.
Declaration
protected override IEnumerable<string> ValidOutputMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
| Improve this Doc View SourceValidSourceMediaTypes
Gets the valid source media types.
Declaration
protected override IEnumerable<string> ValidSourceMediaTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Overrides
Methods
| Improve this Doc View SourceCheckRequestValid(FileInfo, String, FileInfo, String, AudioUtilityRequest)
The check audioutility request.
Declaration
protected override void CheckRequestValid(FileInfo source, string sourceMediaType, FileInfo output, string outputMediaType, AudioUtilityRequest request)
Parameters
Type | Name | Description |
---|---|---|
File |
source | The source file. |
String | sourceMediaType | The source media type. |
File |
output | The output. |
String | outputMediaType | The output media type. |
Audio |
request | The request. |
Overrides
Exceptions
Type | Condition |
---|---|
Argument |
Mp3Splt cannot perform this type of request. |
ConstructInfoArgs(FileInfo)
The construct info args.
Declaration
protected override string ConstructInfoArgs(FileInfo source)
Parameters
Type | Name | Description |
---|---|---|
File |
source | The source. |
Returns
Type | Description |
---|---|
String | The System.String. |
Overrides
| Improve this Doc View SourceConstructModifyArgs(FileInfo, FileInfo, AudioUtilityRequest)
The construct modify args.
Declaration
protected override string ConstructModifyArgs(FileInfo source, FileInfo output, AudioUtilityRequest request)
Parameters
Type | Name | Description |
---|---|---|
File |
source | The source. |
File |
output | The output. |
Audio |
request | The request. |
Returns
Type | Description |
---|---|
String | The System.String. |
Overrides
| Improve this Doc View SourceGetInfo(FileInfo, ProcessRunner)
The get info.
Declaration
protected override AudioUtilityInfo GetInfo(FileInfo source, ProcessRunner process)
Parameters
Type | Name | Description |
---|---|---|
File |
source | The source. |
Process |
process | The process. |
Returns
Type | Description |
---|---|
Audio |
The Acoustics.Tools.AudioUtilityInfo. |