/dports/net/pjsip/pjproject-2.11.1/pjmedia/src/test/ |
H A D | wsola_test.c | 39 short buf2[SAMPLES_PER_FRAME*2], buf1[SAMPLES_PER_FRAME*2], 40 frm2[SAMPLES_PER_FRAME], frm1[SAMPLES_PER_FRAME]; 81 buf2, SAMPLES_PER_FRAME, 93 short frame[SAMPLES_PER_FRAME]; in expand() 127 samples += SAMPLES_PER_FRAME; in expand() 138 samples += SAMPLES_PER_FRAME; in expand() 157 samples += SAMPLES_PER_FRAME; in expand() 170 samples += SAMPLES_PER_FRAME; in expand() 245 assert(count > SAMPLES_PER_FRAME); in compress() 247 buf+count-SAMPLES_PER_FRAME, SAMPLES_PER_FRAME, in compress() [all …]
|
/dports/net/h323plus/h323plus-1_27_2/plugins/audio/VoiceAgeG729/ |
H A D | g729codec.c | 58 #define SAMPLES_PER_FRAME 80 macro 200 *fromLen = SAMPLES_PER_FRAME*2; in codec_encoder() 271 *toLen = SAMPLES_PER_FRAME*2; in codec_decoder() 355 SAMPLES_PER_FRAME, // samples per frame 390 SAMPLES_PER_FRAME, // samples per frame 425 SAMPLES_PER_FRAME, // samples per frame 460 SAMPLES_PER_FRAME, // samples per frame 496 SAMPLES_PER_FRAME, // samples per frame 531 SAMPLES_PER_FRAME, // samples per frame 566 SAMPLES_PER_FRAME, // samples per frame [all …]
|
/dports/net/opal/opal-3.10.10/plugins/audio/VoiceAgeG729/ |
H A D | g729codec.c | 58 #define SAMPLES_PER_FRAME 80 macro 200 *fromLen = SAMPLES_PER_FRAME*2; in codec_encoder() 271 *toLen = SAMPLES_PER_FRAME*2; in codec_decoder() 355 SAMPLES_PER_FRAME, // samples per frame 390 SAMPLES_PER_FRAME, // samples per frame 425 SAMPLES_PER_FRAME, // samples per frame 460 SAMPLES_PER_FRAME, // samples per frame 496 SAMPLES_PER_FRAME, // samples per frame 531 SAMPLES_PER_FRAME, // samples per frame 566 SAMPLES_PER_FRAME, // samples per frame [all …]
|
/dports/net/h323plus/h323plus-1_27_2/plugins/audio/GSM0610/ |
H A D | gsm06_10_codec.c | 54 #define SAMPLES_PER_FRAME 160 macro 104 if (*fromLen < SAMPLES_PER_FRAME * 2) in codec_encoder() 107 frames = MIN(*fromLen / (SAMPLES_PER_FRAME * 2), (*toLen / BYTES_PER_FRAME)); in codec_encoder() 112 *fromLen = frames * SAMPLES_PER_FRAME * 2; in codec_encoder() 118 from = ((const char *)from) + SAMPLES_PER_FRAME * 2; in codec_encoder() 142 if (*toLen < SAMPLES_PER_FRAME * 2) in codec_decoder() 145 frames = MIN(*toLen / (SAMPLES_PER_FRAME * 2), (*fromLen / BYTES_PER_FRAME)); in codec_decoder() 156 *toLen = frames * SAMPLES_PER_FRAME * 2; in codec_decoder() 161 to = ((char *)to) + SAMPLES_PER_FRAME * 2; in codec_decoder() 379 SAMPLES_PER_FRAME, // samples per frame [all …]
|
/dports/net/opal/opal-3.10.10/plugins/audio/GSM0610/ |
H A D | gsm06_10_codec.c | 47 #define SAMPLES_PER_FRAME 160 macro 97 if (*fromLen < SAMPLES_PER_FRAME * 2) in codec_encoder() 100 frames = MIN(*fromLen / (SAMPLES_PER_FRAME * 2), (*toLen / BYTES_PER_FRAME)); in codec_encoder() 105 *fromLen = frames * SAMPLES_PER_FRAME * 2; in codec_encoder() 111 from = ((const char *)from) + SAMPLES_PER_FRAME * 2; in codec_encoder() 135 if (*toLen < SAMPLES_PER_FRAME * 2) in codec_decoder() 138 frames = MIN(*toLen / (SAMPLES_PER_FRAME * 2), (*fromLen / BYTES_PER_FRAME)); in codec_decoder() 149 *toLen = frames * SAMPLES_PER_FRAME * 2; in codec_decoder() 154 to = ((char *)to) + SAMPLES_PER_FRAME * 2; in codec_decoder() 372 SAMPLES_PER_FRAME, // samples per frame [all …]
|
/dports/games/libretro-tgbdual/tgbdual-libretro-18fd609/libretro/ |
H A D | dmy_renderer.cpp | 44 #define SAMPLES_PER_FRAME (44100/60) macro 108 static int16_t stream[SAMPLES_PER_FRAME*2]; in refresh() 116 int16_t tmp_stream[SAMPLES_PER_FRAME*2]; in refresh() 117 this->snd_render->render(tmp_stream, SAMPLES_PER_FRAME); in refresh() 118 for(int i = 0; i < SAMPLES_PER_FRAME; ++i) in refresh() 127 this->snd_render->render(stream, SAMPLES_PER_FRAME); in refresh() 132 audio_batch_cb(stream, SAMPLES_PER_FRAME); in refresh() 140 this->snd_render->render(stream, SAMPLES_PER_FRAME); in refresh() 141 audio_batch_cb(stream, SAMPLES_PER_FRAME); in refresh()
|
/dports/net/h323plus/h323plus-1_27_2/plugins/audio/G726/ |
H A D | g726codec.c | 42 #define SAMPLES_PER_FRAME 8 macro 199 SAMPLES_PER_FRAME, // samples per frame 239 SAMPLES_PER_FRAME, // samples per frame 279 SAMPLES_PER_FRAME, // samples per frame 315 SAMPLES_PER_FRAME, // samples per frame 353 SAMPLES_PER_FRAME, // samples per frame 389 SAMPLES_PER_FRAME, // samples per frame 427 SAMPLES_PER_FRAME, // samples per frame 463 SAMPLES_PER_FRAME, // samples per frame
|
/dports/net/opal/opal-3.10.10/plugins/audio/G726/ |
H A D | g726codec.c | 42 #define SAMPLES_PER_FRAME 8 macro 199 SAMPLES_PER_FRAME, // samples per frame 239 SAMPLES_PER_FRAME, // samples per frame 279 SAMPLES_PER_FRAME, // samples per frame 315 SAMPLES_PER_FRAME, // samples per frame 353 SAMPLES_PER_FRAME, // samples per frame 389 SAMPLES_PER_FRAME, // samples per frame 427 SAMPLES_PER_FRAME, // samples per frame 463 SAMPLES_PER_FRAME, // samples per frame
|
/dports/emulators/yuzu/yuzu-0b47f7a46/src/audio_core/ |
H A D | codec.cpp | 18 constexpr std::size_t SAMPLES_PER_FRAME = 14; in DecodeADPCM() local 23 const std::size_t sample_count = (size / FRAME_LEN) * SAMPLES_PER_FRAME; in DecodeADPCM() 31 (sample_count + (SAMPLES_PER_FRAME - 1)) / SAMPLES_PER_FRAME; // Round up. in DecodeADPCM() 57 std::size_t outputi = framei * SAMPLES_PER_FRAME; in DecodeADPCM() 59 for (std::size_t i = 0; i < SAMPLES_PER_FRAME && outputi < sample_count; i += 2) { in DecodeADPCM()
|
/dports/devel/py-aiortc/aiortc-1.2.1/src/aiortc/codecs/ |
H A D | opus.py | 15 SAMPLES_PER_FRAME = 960 variable 29 frame = AudioFrame(format="s16", layout="stereo", samples=SAMPLES_PER_FRAME) 39 SAMPLES_PER_FRAME, 42 assert length == SAMPLES_PER_FRAME 55 "unsigned char []", SAMPLES_PER_FRAME * CHANNELS * SAMPLE_WIDTH 93 SAMPLES_PER_FRAME,
|
/dports/net/opal/opal-3.10.10/plugins/audio/G722/ |
H A D | g722codec.c | 50 #define SAMPLES_PER_FRAME 32 // Samples in a millisecond macro 177 SAMPLES_PER_FRAME, // samples per frame 212 SAMPLES_PER_FRAME, // samples per frame 249 SAMPLES_PER_FRAME, // samples per frame 284 SAMPLES_PER_FRAME, // samples per frame
|
/dports/net/h323plus/h323plus-1_27_2/plugins/audio/G722/ |
H A D | g722codec.c | 48 #define SAMPLES_PER_FRAME 16 // Samples in a millisecond macro 167 SAMPLES_PER_FRAME, /* samples per frame */ \ 195 SAMPLES_PER_FRAME, /* samples per frame */ \ 237 SAMPLES_PER_FRAME, // samples per frame 272 SAMPLES_PER_FRAME, // samples per frame
|
/dports/emulators/citra/citra-ac98458e0/src/audio_core/ |
H A D | codec.cpp | 23 constexpr std::size_t SAMPLES_PER_FRAME = 14; in DecodeADPCM() local 35 (sample_count + (SAMPLES_PER_FRAME - 1)) / SAMPLES_PER_FRAME; // Round up. in DecodeADPCM() 61 std::size_t outputi = framei * SAMPLES_PER_FRAME; in DecodeADPCM() 63 for (std::size_t i = 0; i < SAMPLES_PER_FRAME && outputi < sample_count; i += 2) { in DecodeADPCM()
|
/dports/emulators/citra-qt5/citra-ac98458e0/src/audio_core/ |
H A D | codec.cpp | 23 constexpr std::size_t SAMPLES_PER_FRAME = 14; in DecodeADPCM() local 35 (sample_count + (SAMPLES_PER_FRAME - 1)) / SAMPLES_PER_FRAME; // Round up. in DecodeADPCM() 61 std::size_t outputi = framei * SAMPLES_PER_FRAME; in DecodeADPCM() 63 for (std::size_t i = 0; i < SAMPLES_PER_FRAME && outputi < sample_count; i += 2) { in DecodeADPCM()
|
/dports/games/kodi-addon-game.libretro/game.libretro-2.2.0-Matrix/src/audio/ |
H A D | SingleFrameAudio.cpp | 14 #define SAMPLES_PER_FRAME 2 // L + R macro 20 m_data.reserve(FRAMES_PER_PACKET * SAMPLES_PER_FRAME); in CSingleFrameAudio() 28 const unsigned int frameCount = static_cast<unsigned int>(m_data.size() / SAMPLES_PER_FRAME); in AddFrame()
|
/dports/net/pjsip/pjproject-2.11.1/pjsip-apps/src/samples/ |
H A D | tonegen.c | 38 #define SAMPLES_PER_FRAME 64 macro 78 status = pjmedia_tonegen_create(pool, 8000, 1, SAMPLES_PER_FRAME, 16, 0, &port); in main() 129 for (i=0; i<8000/SAMPLES_PER_FRAME; ++i) { in main() 132 count = fwrite(buf, SAMPLES_PER_FRAME, 2, f); in main()
|
/dports/emulators/mess/mame-mame0226/3rdparty/portaudio/pablio/ |
H A D | test_w_saw8.c | 53 #define SAMPLES_PER_FRAME (2) macro 58 unsigned char samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 59 unsigned char phases[SAMPLES_PER_FRAME];
|
H A D | test_w_saw.c | 53 #define SAMPLES_PER_FRAME (2) macro 59 float samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 60 float phases[SAMPLES_PER_FRAME];
|
/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/portaudio/pablio/ |
H A D | test_w_saw8.c | 47 #define SAMPLES_PER_FRAME (2) macro 52 unsigned char samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 53 unsigned char phases[SAMPLES_PER_FRAME];
|
H A D | test_w_saw.c | 47 #define SAMPLES_PER_FRAME (2) macro 53 float samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 54 float phases[SAMPLES_PER_FRAME];
|
/dports/emulators/mame/mame-mame0226/3rdparty/portaudio/pablio/ |
H A D | test_w_saw8.c | 53 #define SAMPLES_PER_FRAME (2) macro 58 unsigned char samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 59 unsigned char phases[SAMPLES_PER_FRAME];
|
/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/sound/portaudio/pablio/ |
H A D | test_w_saw8.c | 47 #define SAMPLES_PER_FRAME (2) macro 52 unsigned char samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 53 unsigned char phases[SAMPLES_PER_FRAME];
|
/dports/devel/raknet/raknet-3.9.2_10,1/DependentExtensions/portaudio_v18_1/pablio/ |
H A D | test_w_saw8.c | 47 #define SAMPLES_PER_FRAME (2) macro 52 unsigned char samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 53 unsigned char phases[SAMPLES_PER_FRAME];
|
/dports/audio/portaudio/portaudio/pablio/ |
H A D | test_w_saw8.c | 53 #define SAMPLES_PER_FRAME (2) macro 58 unsigned char samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 59 unsigned char phases[SAMPLES_PER_FRAME];
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/pablio/ |
H A D | test_w_saw8.c | 53 #define SAMPLES_PER_FRAME (2) macro 58 unsigned char samples[FRAMES_PER_BLOCK][SAMPLES_PER_FRAME]; 59 unsigned char phases[SAMPLES_PER_FRAME];
|