1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix comments

This commit is contained in:
bolero-MURAKAMI 2016-04-05 18:21:13 +09:00
parent a0060119ab
commit 8dc640a6e2
23 changed files with 136 additions and 134 deletions

View file

@ -34,13 +34,13 @@ namespace sprout {
//
struct info_type {
public:
std::uint16_t format_tag; // フォーマットID
std::uint16_t channels; // チャンネル数
std::uint32_t samples_per_sec; // サンプリングレート
std::uint32_t bytes_per_sec; // データ速度 (Byte/sec)
std::uint16_t block_size; // ブロックサイズ (Byte/sample*チャンネル数)
std::uint16_t bits_per_sample; // サンプルあたりのビット数 (bit/sample)
std::size_t size; // 要素数
std::uint16_t format_tag; // format ID
std::uint16_t channels; // channels
std::uint32_t samples_per_sec; // sampling rate
std::uint32_t bytes_per_sec; // data speed (Byte/sec)
std::uint16_t block_size; // block size (Byte/sample*channels)
std::uint16_t bits_per_sample; // bits per sample (bit/sample)
std::size_t size; // elements
};
//
// sound_type

View file

@ -16,7 +16,9 @@ namespace sprout {
namespace compost {
//
// rosenberg_value
// Rosenberg 波は声門開大期と閉小期が周期の40%16%となる非対称形の波形でありτ1 が開大期τ2が閉小期を示す
// Rosenberg wave is asymmetric waveform,
// expansion period/reduction period of the glottis is 40%/16% of the cycle,
// tau1 is expansion period, tau2 is reduction period
//
template<typename T>
inline SPROUT_CONSTEXPR typename sprout::float_promote<T>::type

View file

@ -18,7 +18,7 @@
namespace sprout {
// 7.20.6.1 abs<EFBFBD>Clabs<EFBFBD>C<EFBFBD>y<EFBFBD><EFBFBD> llabs <20>֐<EFBFBD>
// 7.20.6.1 abs, labs, and llabs function
inline SPROUT_CONSTEXPR int
abs(int j) {
return j < 0 ? -j : j;

View file

@ -88,7 +88,7 @@ namespace sprout {
}
} // namespace detail
// 7.20.6.2 div<EFBFBD>Cldiv<EFBFBD>CyÑ lldiv ŠÖ<C5A0>
// 7.20.6.2 div, ldiv, and lldiv function
inline SPROUT_CONSTEXPR sprout::div_t
div(int numer, int denom) {
return sprout::detail::div_impl(numer, denom);

View file

@ -50,7 +50,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.5.1 memchr ŠÖ<EFBFBD>
// 7.21.5.1 memchr function
//
// recursion depth:
// O(log N)

View file

@ -27,7 +27,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.4.1 memcmp ŠÖ<EFBFBD>
// 7.21.4.1 memcmp function
//
// recursion depth:
// O(log(N1+N2))

View file

@ -63,7 +63,7 @@ namespace sprout {
} // namespace detail
// 7.21.5.2 strchr ŠÖ<EFBFBD>
// 7.21.5.2 strchr function
//
// recursion depth:
// O(log N)

View file

@ -76,7 +76,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.4.2 strcmp ŠÖ<EFBFBD>
// 7.21.4.2 strcmp function
//
// recursion depth:
// O(log(N1+N2))

View file

@ -15,7 +15,7 @@
namespace sprout {
// 7.21.4.3 strcoll ŠÖ<EFBFBD>
// 7.21.4.3 strcoll function
//
// recursion depth:
// O(log(N1+N2))

View file

@ -66,7 +66,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.5.3 strcspn ŠÖ<EFBFBD>
// 7.21.5.3 strcspn function
//
// recursion depth:
// O(log(N1+N2))

View file

@ -64,7 +64,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.6.3 strlen ŠÖ<EFBFBD>
// 7.21.6.3 strlen function
//
// recursion depth:
// O(log N)

View file

@ -17,7 +17,7 @@
namespace sprout {
// 7.21.4.4 strncmp ŠÖ<EFBFBD>
// 7.21.4.4 strncmp function
//
// recursion depth:
// O(log(N1+N2))

View file

@ -67,7 +67,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.5.4 strpbrk ŠÖ<EFBFBD>
// 7.21.5.4 strpbrk function
//
// recursion depth:
// O(log(N1+N2))

View file

@ -74,7 +74,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.5.5 strrchr ŠÖ<EFBFBD>
// 7.21.5.5 strrchr function
//
// recursion depth:
// O(log N)

View file

@ -66,7 +66,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.5.6 strspn ŠÖ<EFBFBD>
// 7.21.5.6 strspn function
//
// recursion depth:
// O(log(N1+N2))

View file

@ -128,7 +128,7 @@ namespace sprout {
}
} // namespace detail
// 7.21.5.7 strstr ŠÖ<EFBFBD>
// 7.21.5.7 strstr function
//
// recursion depth:
// O(log(N1+N2))