You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _audio_streams_8h_source.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2360,8 +2360,8 @@
2360
2360
<divclass="ttc" id="aclassaudio__tools_1_1_callback_stream_html_ae0807bac7f84b402b0cd29393fc96390"><divclass="ttname"><ahref="classaudio__tools_1_1_callback_stream.html#ae0807bac7f84b402b0cd29393fc96390">audio_tools::CallbackStream::setStream</a></div><divclass="ttdeci">void setStream(Stream &in) override</div><divclass="ttdoc">Defines/Changes the input & output.</div><divclass="ttdef"><b>Definition</b> AudioStreams.h:1601</div></div>
<divclass="ttc" id="aclassaudio__tools_1_1_callback_stream_html_af4e8d27509335897584332ec963fb81d"><divclass="ttname"><ahref="classaudio__tools_1_1_callback_stream.html#af4e8d27509335897584332ec963fb81d">audio_tools::CallbackStream::setAudioInfoCallback</a></div><divclass="ttdeci">void setAudioInfoCallback(void(*cb)(AudioInfo info))</div><divclass="ttdoc">defines the callback to receive the actual audio info</div><divclass="ttdef"><b>Definition</b> AudioStreams.h:1529</div></div>
2363
-
<divclass="ttc" id="aclassaudio__tools_1_1_converter_n_channels_html"><divclass="ttname"><ahref="classaudio__tools_1_1_converter_n_channels.html">audio_tools::ConverterNChannels</a></div><divclass="ttdoc">Converter for n Channels which applies the indicated Filter.</div><divclass="ttdef"><b>Definition</b> BaseConverter.h:1566</div></div>
2364
-
<divclass="ttc" id="aclassaudio__tools_1_1_converter_n_channels_html_acd3ea5fe5d4f6e3837e15d1e8eceae20"><divclass="ttname"><ahref="classaudio__tools_1_1_converter_n_channels.html#acd3ea5fe5d4f6e3837e15d1e8eceae20">audio_tools::ConverterNChannels::setFilter</a></div><divclass="ttdeci">void setFilter(int channel, Filter< FT > *filter)</div><divclass="ttdoc">defines the filter for an individual channel - the first channel is 0</div><divclass="ttdef"><b>Definition</b> BaseConverter.h:1590</div></div>
2363
+
<divclass="ttc" id="aclassaudio__tools_1_1_converter_n_channels_html"><divclass="ttname"><ahref="classaudio__tools_1_1_converter_n_channels.html">audio_tools::ConverterNChannels</a></div><divclass="ttdoc">Converter for n Channels which applies the indicated Filter.</div><divclass="ttdef"><b>Definition</b> BaseConverter.h:1583</div></div>
2364
+
<divclass="ttc" id="aclassaudio__tools_1_1_converter_n_channels_html_acd3ea5fe5d4f6e3837e15d1e8eceae20"><divclass="ttname"><ahref="classaudio__tools_1_1_converter_n_channels.html#acd3ea5fe5d4f6e3837e15d1e8eceae20">audio_tools::ConverterNChannels::setFilter</a></div><divclass="ttdeci">void setFilter(int channel, Filter< FT > *filter)</div><divclass="ttdoc">defines the filter for an individual channel - the first channel is 0</div><divclass="ttdef"><b>Definition</b> BaseConverter.h:1607</div></div>
2365
2365
<divclass="ttc" id="aclassaudio__tools_1_1_converter_stream_html"><divclass="ttname"><ahref="classaudio__tools_1_1_converter_stream.html">audio_tools::ConverterStream</a></div><divclass="ttdoc">Both the data of the read or write operations will be converted with the help of the indicated conver...</div><divclass="ttdef"><b>Definition</b> AudioStreams.h:649</div></div>
2366
2366
<divclass="ttc" id="aclassaudio__tools_1_1_converter_stream_html_a4ea3110016f67d3dcb9793fcae72288f"><divclass="ttname"><ahref="classaudio__tools_1_1_converter_stream.html#a4ea3110016f67d3dcb9793fcae72288f">audio_tools::ConverterStream::setStream</a></div><divclass="ttdeci">void setStream(Stream &stream)</div><divclass="ttdoc">Defines/Changes the input & output.</div><divclass="ttdef"><b>Definition</b> AudioStreams.h:665</div></div>
2367
2367
<divclass="ttc" id="aclassaudio__tools_1_1_converter_stream_html_ae1220e7e3542f5a84c21fe2f7cef194c"><divclass="ttname"><ahref="classaudio__tools_1_1_converter_stream.html#ae1220e7e3542f5a84c21fe2f7cef194c">audio_tools::ConverterStream::setOutput</a></div><divclass="ttdeci">void setOutput(Print &out)</div><divclass="ttdoc">Defines/Changes the output target.</div><divclass="ttdef"><b>Definition</b> AudioStreams.h:671</div></div>
Copy file name to clipboardExpand all lines: _base_stream_8h_source.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -801,7 +801,7 @@
801
801
<divclass="ttc" id="aclassaudio__tools_1_1_ring_buffer_html_ad83053371f5afc622b82660e8bee750f"><divclass="ttname"><ahref="classaudio__tools_1_1_ring_buffer.html#ad83053371f5afc622b82660e8bee750f">audio_tools::RingBuffer::isFull</a></div><divclass="ttdeci">virtual bool isFull() override</div><divclass="ttdoc">checks if the buffer is full</div><divclass="ttdef"><b>Definition</b> Buffers.h:386</div></div>
802
802
<divclass="ttc" id="aclassaudio__tools_1_1_ring_buffer_html_af7294f0869fe98b8281bdc829883445d"><divclass="ttname"><ahref="classaudio__tools_1_1_ring_buffer.html#af7294f0869fe98b8281bdc829883445d">audio_tools::RingBuffer::resize</a></div><divclass="ttdeci">virtual bool resize(int len)</div><divclass="ttdoc">Resizes the buffer if supported: returns false if not supported.</div><divclass="ttdef"><b>Definition</b> Buffers.h:418</div></div>
803
803
<divclass="ttc" id="aclassaudio__tools_1_1_ring_buffer_html_afbb59a2f946191d7cf2a5c0a00b29ec2"><divclass="ttname"><ahref="classaudio__tools_1_1_ring_buffer.html#afbb59a2f946191d7cf2a5c0a00b29ec2">audio_tools::RingBuffer::available</a></div><divclass="ttdeci">virtual int available() override</div><divclass="ttdoc">provides the number of entries that are available to read</div><divclass="ttdef"><b>Definition</b> Buffers.h:410</div></div>
804
-
<divclass="ttc" id="aclassaudio__tools_1_1_smooth_transition_html"><divclass="ttname"><ahref="classaudio__tools_1_1_smooth_transition.html">audio_tools::SmoothTransition</a></div><divclass="ttdoc">Changes the samples at the beginning or at the end to slowly ramp up the volume.</div><divclass="ttdef"><b>Definition</b> BaseConverter.h:1768</div></div>
804
+
<divclass="ttc" id="aclassaudio__tools_1_1_smooth_transition_html"><divclass="ttname"><ahref="classaudio__tools_1_1_smooth_transition.html">audio_tools::SmoothTransition</a></div><divclass="ttdoc">Changes the samples at the beginning or at the end to slowly ramp up the volume.</div><divclass="ttdef"><b>Definition</b> BaseConverter.h:1785</div></div>
<divclass="ttc" id="aclassaudio__tools_1_1_vector_html"><divclass="ttname"><ahref="classaudio__tools_1_1_vector.html">audio_tools::Vector</a></div><divclass="ttdoc">Vector implementation which provides the most important methods as defined by std::vector....</div><divclass="ttdef"><b>Definition</b> Vector.h:21</div></div>
807
807
<divclass="ttc" id="anamespaceaudio__tools_html"><divclass="ttname"><ahref="namespaceaudio__tools.html">audio_tools</a></div><divclass="ttdoc">Generic Implementation of sound input and output for desktop environments using portaudio.</div><divclass="ttdef"><b>Definition</b> AudioCodecsBase.h:10</div></div>
Copy file name to clipboardExpand all lines: classaudio__tools_1_1_base_converter.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@
97
97
<areahref="classaudio__tools_1_1_bin_t.html" alt="BinT< T >" shape="rect" coords="232,280,454,304"/>
98
98
<areahref="classaudio__tools_1_1_callback_converter_t.html" title="You can provide a lambda expression to convert the data." alt="CallbackConverterT< T >" shape="rect" coords="232,336,454,360"/>
99
99
<areahref="classaudio__tools_1_1_channel_avg.html" title="We average pairs of channels in a datastream. E.g. if we have 4 channels we end up with 2 channels...." alt="ChannelAvg" shape="rect" coords="232,392,454,416"/>
100
-
<areahref="classaudio__tools_1_1_channel_avg_t.html" title="We average pairs of channels in a datastream. E.g. if we have 4 channels we end up with 2 channels...." alt="ChannelAvgT< T >" shape="rect" coords="232,448,454,472"/>
100
+
<areahref="classaudio__tools_1_1_channel_avg_t.html" title="We average pairs of channels in a datastream. E.g. if we have 4 channels we end up with 2 channels...." alt="ChannelAvgT< T, AvgT >" shape="rect" coords="232,448,454,472"/>
101
101
<areahref="classaudio__tools_1_1_channel_bin_diff.html" title="Provides combination of binning and subtracting channels." alt="ChannelBinDiff" shape="rect" coords="232,504,454,528"/>
102
102
<areahref="classaudio__tools_1_1_channel_bin_diff_t.html" title="We first bin the channels then we calculate the difference between pairs of channels in a datastream...." alt="ChannelBinDiffT< T >" shape="rect" coords="232,560,454,584"/>
Copy file name to clipboardExpand all lines: classaudio__tools_1_1_channel_avg_t-members.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -73,17 +73,17 @@
73
73
</div>
74
74
</div><!-- top -->
75
75
<divclass="header">
76
-
<divclass="headertitle"><divclass="title">ChannelAvgT< T > Member List</div></div>
76
+
<divclass="headertitle"><divclass="title">ChannelAvgT< T, AvgT > Member List</div></div>
77
77
</div><!--header-->
78
78
<divclass="contents">
79
79
80
-
<p>This is the complete list of members for <aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T ></a>, including all inherited members.</p>
80
+
<p>This is the complete list of members for <aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T, AvgT ></a>, including all inherited members.</p>
81
81
<tableclass="directory">
82
82
<trbgcolor="#f0f0f0" class="even"><tdclass="entry"><b>BaseConverter</b>()=default (defined in <aclass="el" href="classaudio__tools_1_1_base_converter.html">BaseConverter</a>)</td><tdclass="entry"><aclass="el" href="classaudio__tools_1_1_base_converter.html">BaseConverter</a></td><tdclass="entry"></td></tr>
83
83
<trbgcolor="#f0f0f0" class="odd"><tdclass="entry"><b>BaseConverter</b>(BaseConverter const &)=delete (defined in <aclass="el" href="classaudio__tools_1_1_base_converter.html">BaseConverter</a>)</td><tdclass="entry"><aclass="el" href="classaudio__tools_1_1_base_converter.html">BaseConverter</a></td><tdclass="entry"></td></tr>
84
-
<trbgcolor="#f0f0f0" class="even"><tdclass="entry"><b>ChannelAvgT</b>() (defined in <aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T></a>)</td><tdclass="entry"><aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T ></a></td><tdclass="entry"><spanclass="mlabel">inline</span></td></tr>
85
-
<trbgcolor="#f0f0f0" class="odd"><tdclass="entry"><b>convert</b>(uint8_t *src, size_t size) override (defined in <aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T></a>)</td><tdclass="entry"><aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T ></a></td><tdclass="entry"><spanclass="mlabel">inline</span><spanclass="mlabel">virtual</span></td></tr>
86
-
<trbgcolor="#f0f0f0" class="even"><tdclass="entry"><b>convert</b>(uint8_t *target, uint8_t *src, size_t size) (defined in <aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T></a>)</td><tdclass="entry"><aclass="el" href="classaudio__tools_1_1_channel_avg_t.html">ChannelAvgT< T ></a></td><tdclass="entry"><spanclass="mlabel">inline</span></td></tr>
<areahref="classaudio__tools_1_1_base_converter.html" title="Abstract Base class for Converters A converter is processing the data in the indicated array." alt="BaseConverter" shape="rect" coords="0,0,120,24"/>
<areahref="classaudio__tools_1_1_base_converter.html" title="Abstract Base class for Converters A converter is processing the data in the indicated array." alt="BaseConverter" shape="rect" coords="0,0,159,24"/>
<divclass="textblock"><divclass="compoundTemplParams">template<typename T = int16_t><br/>
107
-
class audio_tools::ChannelAvgT< T ></div><p>We average pairs of channels in a datastream. E.g. if we have 4 channels we end up with 2 channels. The channels will be (channel_1 + channel_2)/2 (channel_3 - channel_4)/2. This is equivalent of stereo to mono conversion but will also work for quadric, sexic or octic audio. This will not work if you provide single channel data! </p>
106
+
<divclass="textblock"><divclass="compoundTemplParams">template<typename T = int16_t, typename AvgT = float><br/>
107
+
class audio_tools::ChannelAvgT< T, AvgT ></div><p>We average pairs of channels in a datastream. E.g. if we have 4 channels we end up with 2 channels. The channels will be (channel_1 + channel_2)/2 (channel_3 - channel_4)/2. This is equivalent of stereo to mono conversion but will also work for quadric, sexic or octic audio. This will not work if you provide single channel data! </p>
0 commit comments