Wrapper which converts a AudioStream to a AudioOutput.
More...
#include <CodecTSDemux.h>
Wrapper which converts a AudioStream to a AudioOutput.
◆ AdapterAudioStreamToAudioOutput() [1/2]
| AdapterAudioStreamToAudioOutput |
( |
| ) |
|
|
default |
◆ AdapterAudioStreamToAudioOutput() [2/2]
| AdapterAudioStreamToAudioOutput |
( |
AudioStream & | stream | ) |
|
|
inline |
◆ addNotifyAudioChange() [1/2]
◆ addNotifyAudioChange() [2/2]
◆ audioInfo()
◆ audioInfoOut() [1/2]
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in ChannelFormatConverterStream, ChannelFormatConverterStreamT< T >, FormatConverterStream, MP3EncoderShine, NumberFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, Pipeline, PureDataStream, PWMAudioOutput< PWMDriverT >, ResampleStream, ResampleStreamT< TInterpolator >, and SupportedRatesStream.
◆ audioInfoOut() [2/2]
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in ChannelFormatConverterStream, ChannelFormatConverterStreamT< T >, FormatConverterStream, MP3EncoderShine, NumberFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, Pipeline, PureDataStream, PWMAudioOutput< PWMDriverT >, ResampleStream, ResampleStreamT< TInterpolator >, and SupportedRatesStream.
◆ availableForWrite()
| int availableForWrite |
( |
| ) |
|
|
inlineoverridevirtual |
◆ begin() [1/2]
◆ begin() [2/2]
◆ clearNotifyAudioChange() [1/2]
| virtual void clearNotifyAudioChange |
( |
| ) |
|
|
inlinevirtualinherited |
◆ clearNotifyAudioChange() [2/2]
| virtual void clearNotifyAudioChange |
( |
| ) |
|
|
inlinevirtualinherited |
◆ end()
◆ flush() [1/2]
◆ flush() [2/2]
◆ isDeletable()
| virtual bool isDeletable |
( |
| ) |
|
|
inlineoverridevirtual |
If true we need to release the related memory in the destructor.
Reimplemented from AudioOutput.
◆ isNotifyActive() [1/2]
Checks if the automatic AudioInfo update is active.
◆ isNotifyActive() [2/2]
Checks if the automatic AudioInfo update is active.
◆ notifyAudioChange() [1/2]
◆ notifyAudioChange() [2/2]
◆ operator bool()
◆ removeNotifyAudioChange() [1/2]
Removes a target in order not to be notified about audio changes.
◆ removeNotifyAudioChange() [2/2]
Removes a target in order not to be notified about audio changes.
◆ setAudioInfo()
◆ setNotifyActive() [1/2]
| void setNotifyActive |
( |
bool | flag | ) |
|
|
inlineinherited |
Deactivate/Reactivate automatic AudioInfo updates: (default is active).
◆ setNotifyActive() [2/2]
| void setNotifyActive |
( |
bool | flag | ) |
|
|
inlineinherited |
Deactivate/Reactivate automatic AudioInfo updates: (default is active).
◆ setStream()
◆ write() [1/2]
| size_t write |
( |
const uint8_t * | data, |
|
|
size_t | len ) |
|
inlineoverridevirtual |
◆ write() [2/2]
| virtual size_t write |
( |
uint8_t | ch | ) |
|
|
inlineoverridevirtualinherited |
◆ writeSilence() [1/2]
| virtual void writeSilence |
( |
size_t | len | ) |
|
|
inlinevirtualinherited |
Writes n 0 values (= silence)
- Parameters
-
◆ writeSilence() [2/2]
| virtual void writeSilence |
( |
size_t | len | ) |
|
|
inlinevirtualinherited |
Writes n 0 values (= silence)
- Parameters
-
◆ _timeout
◆ cfg
◆ is_active
◆ is_notify_active
| bool is_notify_active = true |
|
protectedinherited |
◆ notify_vector
◆ p_stream
◆ tmp
◆ tmpPos
The documentation for this class was generated from the following file: