浏览代码

libobs: Remove unnecessary UTF characters

Norihiro Kamae 3 年之前
父节点
当前提交
33e6ad3cc9
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 5 5
      libobs/graphics/graphics-ffmpeg.c
  2. 1 1
      libobs/obs-audio-controls.c

+ 5 - 5
libobs/graphics/graphics-ffmpeg.c

@@ -183,7 +183,7 @@ static inline size_t get_dst_position(const size_t w, const size_t h,
 
 	} else if (orient == 3) {
 		/*
-		 * Orientation 3: 180°
+		 * Orientation 3: 180 degree
 		 *
 		 *     88        888888
 		 *     88   ->   88
@@ -225,7 +225,7 @@ static inline size_t get_dst_position(const size_t w, const size_t h,
 
 	} else if (orient == 5) {
 		/*
-		 * Orientation 5: Flip Y + 90° CW
+		 * Orientation 5: Flip Y + 90 degree CW
 		 *
 		 * 8888888888        888888
 		 * 88  88       ->   88
@@ -246,7 +246,7 @@ static inline size_t get_dst_position(const size_t w, const size_t h,
 
 	} else if (orient == 6) {
 		/*
-		 * Orientation 6: 90° CW
+		 * Orientation 6: 90 degree CW
 		 *
 		 * 88                888888
 		 * 88  88       ->   88
@@ -267,7 +267,7 @@ static inline size_t get_dst_position(const size_t w, const size_t h,
 
 	} else if (orient == 7) {
 		/*
-		 * Orientation 7: Flip Y + 90° CCW
+		 * Orientation 7: Flip Y + 90 degree CCW
 		 *
 		 *         88        888888
 		 *     88  88   ->   88
@@ -288,7 +288,7 @@ static inline size_t get_dst_position(const size_t w, const size_t h,
 
 	} else if (orient == 8) {
 		/*
-		 * Orientation 8: 90° CCW
+		 * Orientation 8: 90 degree CCW
 		 *
 		 * 8888888888        888888
 		 *     88  88   ->   88

+ 1 - 1
libobs/obs-audio-controls.c

@@ -314,7 +314,7 @@ static int get_nr_channels_from_audio_data(const struct audio_data *data)
 	} while (false)
 
 /* Calculate the true peak over a set of samples.
- * The algorithm implements 5x oversampling by using WhittakerShannon
+ * The algorithm implements 5x oversampling by using Whittaker-Shannon
  * interpolation over four samples.
  *
  * The four samples have location t=-1.5, -0.5, +0.5, +1.5