- void convertAudioType2StreamType(CAudioInfo::EAudioType audioType, char **streamType);
- void convertInputStreamType2AudioType(char *streamType, CAudioInfo::EAudioType *audioType);
- void convertOutputStreamType2AudioType(char *streamType, CAudioInfo::EAudioType *audioType);
- int getSampleSize() noexcept;
+ void setAudioTypeByInputStreamType(const char* streamType);
+ void setAudioTypeByOutputStreamType(const char* streamType);
+ EAudioType getAudioType() const noexcept;
+ std::pair<const char*, int> getStreamProperties() const;
+
+ /* Effect */
+ void setEffectMethod(int method) noexcept;
+ std::string getEffectNoiseSuppressionMethod() const noexcept;
+ std::string getEffectAutomaticGainControlMethod() const noexcept;
+
+ void setEffectMethodWithReference(sound_effect_method_with_reference_e method, int id) noexcept;
+ std::pair<std::string, int> getEffectMethodWithReference() const noexcept;
+
+ /* Utilities */
+ size_t msToBytes(size_t milliseconds) const noexcept;
+ size_t bytesToMs(size_t bytes) const noexcept;