HomeSort by relevance Sort by last modified time
    Searched full:nchannels (Results 26 - 50 of 321) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/python/cpython3/Lib/test/
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize/8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
130 for config in [(fmt, 300, rate), # ridiculous nchannels
131 (fmt, -5, rate), # impossible nchannels
test_wave.py 17 nchannels = 2 variable in class:WavePCM8Test
34 nchannels = 2 variable in class:WavePCM16Test
55 nchannels = 2 variable in class:WavePCM24Test
82 nchannels = 2 variable in class:WavePCM32Test
test_sndhdr.py 24 self.assertEqual(what.nchannels, expected[2])
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /external/python/cpython2/Lib/test/
test_sunau.py 16 nchannels = 2 variable in class:SunauPCM8Test
33 nchannels = 2 variable in class:SunauPCM16Test
52 nchannels = 2 variable in class:SunauPCM32Test
77 nchannels = 2 variable in class:SunauULAWTest
test_wave.py 19 nchannels = 2 variable in class:WavePCM8Test
36 nchannels = 2 variable in class:WavePCM16Test
63 nchannels = 2 variable in class:WavePCM24Test
90 nchannels = 2 variable in class:WavePCM32Test
audiotests.py 51 def check_params(self, f, nchannels, sampwidth, framerate, nframes,
53 self.assertEqual(f.getnchannels(), nchannels)
62 (nchannels, sampwidth, framerate, nframes, comptype, compname))
73 f.setnchannels(self.nchannels)
82 self.assertEqual(f.getnchannels(), self.nchannels)
94 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
123 framesize = self.nchannels * self.sampwidth
197 framesize = self.nchannels * self.sampwidth
210 self.check_params(f, self.nchannels, self.sampwidth, self.framerate,
228 framesize = self.nchannels * self.sampwidt
    [all...]
  /external/python/cpython2/Lib/
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /prebuilts/gdb/darwin-x86/lib/python2.7/
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /prebuilts/gdb/linux-x86/lib/python2.7/
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /frameworks/av/media/libeffects/testlibs/
AudioBiquadFilter.cpp 28 AudioBiquadFilter::AudioBiquadFilter(int nChannels, int sampleRate) {
29 configure(nChannels, sampleRate);
33 void AudioBiquadFilter::configure(int nChannels, int sampleRate) {
34 assert(nChannels > 0 && nChannels <= MAX_CHANNELS);
36 mNumChannels = nChannels;
AudioPeakingFilter.h 42 // nChannels Number of input/output channels (interlaced).
44 AudioPeakingFilter(int nChannels, int sampleRate);
48 // nChannels Number of input/output channels (interlaced).
50 void configure(int nChannels, int sampleRate);
99 // frameCount * nChannels interlaced samples. Processing can be done
AudioShelvingFilter.h 49 // nChannels Number of input/output channels (interlaced).
51 AudioShelvingFilter(ShelfType type, int nChannels, int sampleRate);
55 // nChannels Number of input/output channels (interlaced).
57 void configure(int nChannels, int sampleRate);
93 // frameCount * nChannels interlaced samples. Processing can be done
AudioBiquadFilter.h 43 // nChannels Number of input/output channels.
45 AudioBiquadFilter(int nChannels, int sampleRate);
48 // nChannels Number of input/output channels.
50 void configure(int nChannels, int sampleRate);
75 // in The input buffer. Should be of size frameCount * nChannels.
76 // out The output buffer. Should be of size frameCount * nChannels.
AudioFormatAdapter.h 54 // nChannels Number of input and output channels. The adapter does not do
59 void configure(T & processor, int nChannels, uint8_t pcmFormat,
62 mNumChannels = nChannels;
65 mMaxSamplesPerCall = bufSize / nChannels;
  /hardware/interfaces/media/omx/1.0/vts/functional/audio/
VtsHalMediaOmxV1_0TargetAudioDecTest.cpp 264 int32_t nChannels = 2, int32_t nSampleRate = 44100,
283 setupPCMPort(omxNode, portIndex, nChannels, eNumData, nBitPerSample,
288 OMX_AUDIO_AACStreamFormatMP4FF, nChannels, 0,
300 OMX_AUDIO_CODINGTYPE eEncoding, int32_t* nChannels,
303 *nChannels = 0;
315 *nChannels = param.nChannels;
325 *nChannels = param.nChannels;
336 *nChannels = param.nChannels
    [all...]
VtsHalMediaOmxV1_0TargetAudioEncTest.cpp 210 AudioEncHidlTest::standardComp comp, int32_t nChannels,
235 setupFLACPort(omxNode, portIndex, nChannels, nSampleRate,
245 OMX_AUDIO_AACStreamFormatMP4FF, nChannels, nBitRate,
310 int32_t samplesPerFrame, int32_t nChannels,
316 int bytesCount = samplesPerFrame * nChannels * 2;
418 int32_t nChannels = 2;
424 nChannels = 1;
430 nChannels = 1;
436 nChannels = 2;
442 nChannels = 2
    [all...]
  /external/aac/libAACenc/src/
adj_thr.cpp 320 const INT nChannels, const INT sampleRate, const INT advancedBitsToPe,
327 if (advancedBitsToPe && nChannels <= (2)) {
364 startPF = peTab[size - 1].bits2PeFactor[qualityIdx][nChannels - 1];
365 stopPF = peTab[size - 1].bits2PeFactor[qualityIdx][nChannels - 1];
372 startPF = peTab[i].bits2PeFactor[qualityIdx][nChannels - 1];
373 stopPF = peTab[i + 1].bits2PeFactor[qualityIdx][nChannels - 1];
413 if ((bitRate / nChannels > 32000) && (bitRate / nChannels <= 40000)) {
415 } else if (bitRate / nChannels > 20000) {
417 } else if (bitRate / nChannels >= 16000)
    [all...]
aacenc_lib.cpp 173 UINT nChannels; /*!< will be set via channelMode. */
284 ULONG nChannels; /*!< Number of audio channels. */
338 * \param nChannels Number of audio channels.
345 static const ELD_SBR_CONFIGURATOR *eldSbrConfigurator(const ULONG nChannels,
354 if ((nChannels == eldSbrAutoConfigTab[i].nChannels) &&
524 cc->noChannels = hAacConfig->nChannels;
647 config->nChannels = hAacConfig->nChannels;
711 const INT frameLength, const INT nChannels,
    [all...]
  /external/python/cpython2/Mac/Demo/sound/
playaiff.py 10 print 'nchannels =', af.getnchannels()

Completed in 824 milliseconds

12 3 4 5 6 7 8 91011>>