HomeSort by relevance Sort by last modified time
    Searched refs:stereo (Results 1 - 25 of 60) sorted by null

1 2 3

  /cts/suite/audio_quality/lib/include/audio/
AudioSignalFactory.h 32 bool stereo = true);
34 int maxPositive, int samples, bool stereo = true);
36 int samples, bool stereo = true);
AudioRemote.h 50 bool startPlaybackForRemoteData(int id, bool stereo, int numberRepetition = 1);
RemoteAudio.h 51 bool startPlayback(bool stereo, int samplingF, int mode, int volume,
56 bool startRecording(bool stereo, int samplingF, int mode, int volume,
Buffer.h 35 Buffer(size_t capacity, size_t size = 0, bool stereo = true);
104 /// change stereo buffer to mono
106 /// change mono buffer to stereo. This does not increase allocated memory.
118 /// .r2s: 16 bps, stereo
128 // stereo or mono
  /external/speex/include/speex/
speex_stereo.h 4 @brief Describes the handling for intensity stereo
37 /** @defgroup SpeexStereoState SpeexStereoState: Handling Speex stereo files
38 * This describes the Speex intensity stereo encoding/decoding
62 /** Initialise/create a stereo stereo state */
65 /** Reset/re-initialise an already allocated stereo state */
66 void speex_stereo_state_reset(SpeexStereoState *stereo);
68 /** Destroy a stereo stereo state */
69 void speex_stereo_state_destroy(SpeexStereoState *stereo);
    [all...]
  /external/speex/libspeex/
stereo.c 2 File: stereo.c
66 /* This is an ugly compatibility hack that properly resets the stereo state
77 SpeexStereoState *stereo = speex_alloc(sizeof(SpeexStereoState)); local
78 speex_stereo_state_reset(stereo);
79 return stereo;
84 RealSpeexStereoState *stereo = (RealSpeexStereoState*)_stereo; local
86 stereo->balance = 65536;
87 stereo->e_ratio = 16384;
88 stereo->smooth_left = 16384;
89 stereo->smooth_right = 16384
226 RealSpeexStereoState *stereo = (RealSpeexStereoState*)_stereo; local
253 RealSpeexStereoState *stereo = (RealSpeexStereoState*)_stereo; local
276 RealSpeexStereoState *stereo; local
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
audioframe.h 41 AudioFrame(int16* audio, size_t audio_length, int sample_freq, bool stereo)
45 stereo_(stereo) {
  /cts/suite/audio_quality/lib/src/audio/
AudioSignalFactory.cpp 25 int samples, bool stereo)
27 int bufferSize = samples * (stereo? 2 : 1) * BPS;
37 if(stereo) {
46 int maxPositive, int samples, bool stereo)
48 int bufferSize = samples * (stereo? 2 : 1) * BPS;
61 if (stereo) {
71 int samples, bool stereo)
73 int bufferSize = samples * (stereo? 2 : 1) * BPS;
81 if (stereo) {
AudioRemote.cpp 61 bool AudioRemotePlayback::startPlaybackForRemoteData(int id, bool stereo, int numberRepetition)
63 return mRemote->startPlayback(stereo, mSamplingRate, mMode, mVolume, id, numberRepetition);
75 bool stereo = buffer->isStereo(); local
76 return mRemote->startRecording(stereo, mSamplingRate, mMode, mVolume, buffer);
Buffer.cpp 24 Buffer::Buffer(size_t capacity, size_t size, bool stereo)
28 mStereo(stereo)
82 bool stereo; local
84 stereo = true;
86 stereo = false;
98 Buffer* buffer = new Buffer(size, size, stereo);
136 LOGD("stereo mismatch %d %d", mStereo, b.mStereo);
  /cts/suite/audio_quality/test_description/processing/
example.py 26 # mono or stereo audio data
34 # This example takes 2 stereo data, 2 mono data, 2 i64, and 2 doubles
35 # and returns average as 1 stereo data, 1 mono data, 1 i64, and 1 double
45 stereo = stereoInt.astype(np.int16)
46 #print len(inputData[0]), len(inputData[1]), len(stereoInt), len(stereo)
52 outputData.append(stereo)
gen_random.py 28 # Output: generated sound (stereo)
30 def do_gen_random(peakAmpl, durationInMSec, samplingRate, fHigh, stereo=True):
32 result = np.zeros(samples * 2 if stereo else samples, dtype=np.int16)
52 if stereo:
  /external/chromium_org/third_party/opus/src/celt/
vq.h 71 int stereo_itheta(celt_norm *X, celt_norm *Y, int stereo, int N);
bands.c 607 static int compute_qn(int N, int b, int offset, int pulse_cap, int stereo)
613 if (stereo && N==2)
615 /* The upper limit ensures that in a stereo split with itheta==16384, we'll
633 the mono and stereo case. Even in the mono case, it can split the band
644 int stereo, split; local
667 split = stereo = Y != NULL;
691 } while (++c<1+stereo);
697 if (!stereo && level == 0)
754 if (!stereo && LM != -1 && b > cache[cache[0]]+12 && N>2)
778 offset = (pulse_cap>>1) - (stereo&&N==2 ? QTHETA_OFFSET_TWOPHASE : QTHETA_OFFSET)
    [all...]
  /cts/suite/audio_quality/test/
RemoteAudioFakeTcpTest.cpp 161 bool stereo = false; local
164 int mode = AudioHardware::EModeVoice | (stereo ? 0x80000000 : 0);
187 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat));
194 bool stereo = false; local
197 int mode = AudioHardware::EModeVoice | (stereo ? 0x80000000 : 0);
231 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat));
241 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat));
251 ASSERT_TRUE(mRemoteAudio->startPlayback(stereo, samplingF, mode, volume, id, repeat));
256 bool stereo = false; local
259 int mode = AudioHardware::EModeVoice | (stereo ? 0x80000000 : 0)
    [all...]
  /bionic/libc/kernel/common/linux/
tegra_audio.h 29 int stereo; member in struct:tegra_audio_in_config
  /external/kernel-headers/original/linux/
tegra_audio.h 31 int stereo; member in struct:tegra_audio_in_config
  /external/qemu/distrib/sdl-1.2.15/src/audio/dma/
SDL_dmaaudio.c 250 static int DMA_ReopenAudio(_THIS, const char *audiodev, int format, int stereo,
288 /* Set mono or stereo audio */
290 if ( (ioctl(audio_fd, SNDCTL_DSP_STEREO, &stereo) < 0) ||
291 (value != stereo) ) {
312 int stereo; local
395 /* Set mono or stereo audio (currently only two channels supported) */
396 stereo = (spec->channels > 1);
397 ioctl(audio_fd, SNDCTL_DSP_STEREO, &stereo);
398 if ( stereo ) {
408 if ( DMA_ReopenAudio(this, audiodev, format, stereo, spec) < 0 )
    [all...]
  /external/opencv/cvaux/src/
cvcalibfilter.cpp 68 memset( &stereo, 0, sizeof(stereo) );
314 {/* calibrate stereo cameras */
317 stereo.camera[0] = &cameraParams[0];
318 stereo.camera[1] = &cameraParams[1];
324 &stereo);
328 stereo.fundMatr[i] = stereo.fundMatr[i];
619 return &stereo;
671 /* Save stereo params *
    [all...]
  /external/qemu/audio/
wavcapture.c 97 int stereo, bits16, shift; local
111 stereo = nchannels == 2;
115 as.nchannels = 1 << stereo;
125 shift = bits16 + stereo;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
mixer_oss.h 33 unsigned int stereo: 1; member in struct:snd_mixer_oss_slot
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
mixer_oss.h 33 unsigned int stereo: 1; member in struct:snd_mixer_oss_slot
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_get_side_info.cpp 122 int stereo = (info->mode == MPG_MD_MONO) ? 1 : 2; local
126 if (stereo == 1)
140 for (ch = 0; ch < stereo; ch++)
151 for (ch = 0; ch < stereo; ch++)
217 si->private_bits = getbits_crc(inputStream, stereo, crc, info->error_protection);
219 for (ch = 0; ch < stereo; ch++)
  /frameworks/wilhelm/src/itf/
IOutputMixExt.c 26 // stereo is a frame consisting of a pair of 16-bit PCM samples
31 } stereo; typedef in typeref:struct:__anon32543
167 /** \brief This is the track mixer: fill the specified 16-bit stereo PCM buffer */
173 // Force to be a multiple of a frame, assumes stereo 16-bit PCM
236 stereo *mixBuffer = (stereo *) dstWriter;
237 const stereo *source = (const stereo *) track->mReader;
243 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source) {
249 for (j = 0; j < actual; j += sizeof(stereo), ++mixBuffer, ++source)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/
SDL_wave.c 120 Sint8 nybble, stereo; local
139 stereo = (MS_ADPCM_state.wavefmt.channels == 2);
141 state[1] = &MS_ADPCM_state.state[stereo];
145 if ( stereo ) {
150 if ( stereo ) {
156 if ( stereo ) {
162 if ( stereo ) {
173 if ( stereo ) {
181 if ( stereo ) {

Completed in 290 milliseconds

1 2 3