./spec/api/audio_api_spec.rb in cloudmersive-video-api-client-2.0.4 vs ./spec/api/audio_api_spec.rb in cloudmersive-video-api-client-2.0.5
- old
+ new
@@ -36,11 +36,11 @@
# Convert Audio File to AAC format.
# Automatically detect audio file format and convert it to AAC format. Supports many input audio formats, including AAC, FLAC, M4A, MP2, MP3, OGG, WMA, and WAV. Uses 1 API call per 10 MB of file size. Also uses 1 API call per additional minute of processing time over 5 minutes, up to a maximum of 25 minutes total processing time. Maximum output file size is 50GB.
# @param [Hash] opts the optional parameters
# @option opts [File] :input_file Input file to perform the operation on.
# @option opts [String] :file_url Optional; URL of an audio file being used for conversion. Use this option for files larger than 2GB.
- # @option opts [Object] :bit_rate Optional; Specify the desired bitrate of the converted audio file in kilobytes per second (kB/s). Value may be between 48 and 1,411. By default, the optimal bitrate will be chosen automatically.
+ # @option opts [Integer] :bit_rate Optional; Specify the desired bitrate of the converted audio file in kilobytes per second (kB/s). Value may be between 48 and 1,411. By default, the optimal bitrate will be chosen automatically.
# @return [String]
describe 'audio_convert_to_aac test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
@@ -50,11 +50,11 @@
# Convert Audio File to M4A format.
# Automatically detect audio file format and convert it to M4A format. Supports many input audio formats, including AAC, FLAC, M4A, MP2, MP3, OGG, WMA, and WAV. Uses 1 API call per 10 MB of file size. Also uses 1 API call per additional minute of processing time over 5 minutes, up to a maximum of 25 minutes total processing time. Maximum output file size is 50GB.
# @param [Hash] opts the optional parameters
# @option opts [File] :input_file Input file to perform the operation on.
# @option opts [String] :file_url Optional; URL of an audio file being used for conversion. Use this option for files larger than 2GB.
- # @option opts [Object] :bit_rate Optional; Specify the desired bitrate of the converted audio file in kilobytes per second (kB/s). Value may be between 48 and 1,411. By default, the optimal bitrate will be chosen automatically.
+ # @option opts [Integer] :bit_rate Optional; Specify the desired bitrate of the converted audio file in kilobytes per second (kB/s). Value may be between 48 and 1,411. By default, the optimal bitrate will be chosen automatically.
# @return [String]
describe 'audio_convert_to_m4a test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
@@ -64,11 +64,11 @@
# Convert Audio File to MP3 format.
# Automatically detect audio file format and convert it to MP3 format. Supports many input audio formats, including AAC, FLAC, M4A, MP2, MP3, OGG, WMA, and WAV. Uses 1 API call per 10 MB of file size. Also uses 1 API call per additional minute of processing time over 5 minutes, up to a maximum of 25 minutes total processing time. Maximum output file size is 50GB.
# @param [Hash] opts the optional parameters
# @option opts [File] :input_file Input file to perform the operation on.
# @option opts [String] :file_url Optional; URL of an audio file being used for conversion. Use this option for files larger than 2GB.
- # @option opts [Object] :bit_rate Optional; Specify the desired bitrate of the converted audio file in kilobytes per second (kB/s). Value may be between 48 and 1,411. By default, the optimal bitrate will be chosen automatically.
+ # @option opts [Integer] :bit_rate Optional; Specify the desired bitrate of the converted audio file in kilobytes per second (kB/s). Value may be between 48 and 1,411. By default, the optimal bitrate will be chosen automatically.
# @return [String]
describe 'audio_convert_to_mp3 test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
@@ -78,10 +78,10 @@
# Convert Audio File to WAV format.
# Automatically detect audio file format and convert it to WAV format. Supports many input audio formats, including AAC, FLAC, M4A, MP2, MP3, OGG, WMA, and WAV. Uses 1 API call per 10 MB of file size. Also uses 1 API call per additional minute of processing time over 5 minutes, up to a maximum of 25 minutes total processing time. Maximum output file size is 50GB.
# @param [Hash] opts the optional parameters
# @option opts [File] :input_file Input file to perform the operation on.
# @option opts [String] :file_url Optional; URL of an audio file being used for conversion. Use this option for files larger than 2GB.
- # @option opts [Object] :sample_rate Optional; Specify the desired sample rate of the converted audio file in kHz. Value may be between 8 and 96. Standard for audio CDs is 44.1, while DVD audio standard is 48. By default, the optimal sample rate will be chosen automatically.
+ # @option opts [Float] :sample_rate Optional; Specify the desired sample rate of the converted audio file in kHz. Value may be between 8 and 96. Standard for audio CDs is 44.1, while DVD audio standard is 48. By default, the optimal sample rate will be chosen automatically.
# @return [String]
describe 'audio_convert_to_wav test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end