"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/GUI/AudioPreviewer.cpp" between
ssr-0.4.1.tar.gz and ssr-0.4.2.tar.gz

About: SimpleScreenRecorder is a screen (video-audio) recorder for Linux.

AudioPreviewer.cpp  (ssr-0.4.1):AudioPreviewer.cpp  (ssr-0.4.2)
skipping to change at line 82 skipping to change at line 82
switch(format) { switch(format) {
case AV_SAMPLE_FMT_S16: { case AV_SAMPLE_FMT_S16: {
const int16_t *data_in = (const int16_t*) data; const int16_t *data_in = (const int16_t*) data;
for(size_t i = 0; i < sample_count; ++i) { for(size_t i = 0; i < sample_count; ++i) {
for(unsigned int c = 0; c < channels; ++c) { for(unsigned int c = 0; c < channels; ++c) {
lock->m_channel_data[c].Analyze(*(data_in ++)); lock->m_channel_data[c].Analyze(*(data_in ++));
} }
} }
break; break;
} }
case AV_SAMPLE_FMT_S32: {
const int32_t *data_in = (const int32_t*) data;
for(size_t i = 0; i < sample_count; ++i) {
for(unsigned int c = 0; c < channels; ++c) {
lock->m_channel_data[c].Analyze(*(data_in
++));
}
}
break;
}
case AV_SAMPLE_FMT_FLT: { case AV_SAMPLE_FMT_FLT: {
const float *data_in = (const float*) data; const float *data_in = (const float*) data;
for(size_t i = 0; i < sample_count; ++i) { for(size_t i = 0; i < sample_count; ++i) {
for(unsigned int c = 0; c < channels; ++c) { for(unsigned int c = 0; c < channels; ++c) {
lock->m_channel_data[c].Analyze(*(data_in ++)); lock->m_channel_data[c].Analyze(*(data_in ++));
} }
} }
break; break;
} }
default: { default: {
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)