| OLD | NEW |
| 1 == Opus audio codec == | 1 == Opus audio codec == |
| 2 | 2 |
| 3 Opus is a codec for interactive speech and audio transmission over the Internet. | 3 Opus is a codec for interactive speech and audio transmission over the Internet. |
| 4 | 4 |
| 5 Opus can handle a wide range of interactive audio applications, including | 5 Opus can handle a wide range of interactive audio applications, including |
| 6 Voice over IP, videoconferencing, in-game chat, and even remote live music | 6 Voice over IP, videoconferencing, in-game chat, and even remote live music |
| 7 performances. It can scale from low bit-rate narrowband speech to very high | 7 performances. It can scale from low bit-rate narrowband speech to very high |
| 8 quality stereo music. | 8 quality stereo music. |
| 9 | 9 |
| 10 Opus, when coupled with an appropriate container format, is also suitable | 10 Opus, when coupled with an appropriate container format, is also suitable |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 % git clone git://git.opus-codec.org/opus.git | 53 % git clone git://git.opus-codec.org/opus.git |
| 54 % cd opus | 54 % cd opus |
| 55 | 55 |
| 56 2) Compiling the source | 56 2) Compiling the source |
| 57 | 57 |
| 58 % ./autogen.sh | 58 % ./autogen.sh |
| 59 % ./configure | 59 % ./configure |
| 60 % make | 60 % make |
| 61 | 61 |
| 62 3) Install the codec libraries (optional) |
| 63 |
| 64 % sudo make install |
| 65 |
| 62 Once you have compiled the codec, there will be a opus_demo executable | 66 Once you have compiled the codec, there will be a opus_demo executable |
| 63 in the top directory. | 67 in the top directory. |
| 64 | 68 |
| 65 Usage: opus_demo [-e] <application> <sampling rate (Hz)> <channels (1/2)> | 69 Usage: opus_demo [-e] <application> <sampling rate (Hz)> <channels (1/2)> |
| 66 <bits per second> [options] <input> <output> | 70 <bits per second> [options] <input> <output> |
| 67 opus_demo -d <sampling rate (Hz)> <channels (1/2)> [options] | 71 opus_demo -d <sampling rate (Hz)> <channels (1/2)> [options] |
| 68 <input> <output> | 72 <input> <output> |
| 69 | 73 |
| 70 mode: voip | audio | restricted-lowdelay | 74 mode: voip | audio | restricted-lowdelay |
| 71 options: | 75 options: |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 floor(a/(2^b)), | 133 floor(a/(2^b)), |
| 130 | 134 |
| 131 o For conversion to a signed integer of N bits, the value is reduced | 135 o For conversion to a signed integer of N bits, the value is reduced |
| 132 modulo 2^N to be within range of the type, | 136 modulo 2^N to be within range of the type, |
| 133 | 137 |
| 134 o The result of integer division of a negative value is truncated | 138 o The result of integer division of a negative value is truncated |
| 135 towards zero, and | 139 towards zero, and |
| 136 | 140 |
| 137 o The compiler provides a 64-bit integer type (a C99 requirement | 141 o The compiler provides a 64-bit integer type (a C99 requirement |
| 138 which is supported by most C89 compilers). | 142 which is supported by most C89 compilers). |
| OLD | NEW |