Module: OpenAI::Models::Realtime::RealtimeAudioFormats

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/realtime/realtime_audio_formats.rb,
sig/openai/models/realtime/realtime_audio_formats.rbs

Overview

The PCM audio format. Only a 24kHz sample rate is supported.

Defined Under Namespace

Classes: AudioPCM, AudioPCMA, AudioPCMU

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/realtime/realtime_audio_formats.rb', line 61

Instance Method Details

#self?.variants::Array[OpenAI::Models::Realtime::realtime_audio_formats]

Returns:

  • (::Array[OpenAI::Models::Realtime::realtime_audio_formats])


124
# File 'sig/openai/models/realtime/realtime_audio_formats.rbs', line 124

def self?.variants: -> ::Array[OpenAI::Models::Realtime::realtime_audio_formats]