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

12 3 4 5 6 7 8 91011>>

  /external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/
addChannel.html 16 server.channels = server.channels || [];
17 server.channels.forEach(function(channel) {
22 server.channels.push(channelName);
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/irc/servlet/
addChannel.html 16 server.channels = server.channels || [];
17 server.channels.forEach(function(channel) {
22 server.channels.push(channelName);
  /external/chromium_org/media/base/
audio_bus.h 28 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses
29 // channels() and frames_per_buffer() from AudioParameters if given.
30 static scoped_ptr<AudioBus> Create(int channels, int frames);
33 // Creates a new AudioBus with the given number of channels, but zero length.
36 static scoped_ptr<AudioBus> CreateWrapper(int channels);
47 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data);
52 // Calculates the required size for an AudioBus given the number of channels
54 static int CalculateMemorySize(int channels, int frames);
75 // AudioBus object must have the same frames() and channels().
79 // objects must have the same number of channels(). |source_start_frame| i
94 int channels() const { return static_cast<int>(channel_data_.size()); } function in class:media::AudioBus
    [all...]
audio_pull_fifo_unittest.cc 20 // Number of channels in each audio bus.
60 // audio frame that we provide. Note that all channels are given the same
66 EXPECT_EQ(audio_bus->channels(), audio_bus_->channels());
69 for (int j = 0; j < audio_bus->channels(); ++j) {
70 // Store same value in all channels.
audio_buffer_unittest.cc 27 const int channels = 1; local
32 kSampleFormatU8, channels, 1, 1, frames, start_time, duration);
54 EXPECT_EQ(16, buffer->frame_count()); // 2 channels of 8-bit data
58 EXPECT_EQ(2, buffer->frame_count()); // now 4 channels of 32-bit data
62 const int channels = 4; local
67 kSampleFormatU8, channels, 128, 1, frames, start_time, duration);
70 // 128, 132, 136, 140, other channels similar. However, values are converted
73 scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100);
82 const int channels = 2; local
87 kSampleFormatS16, channels, 1, 1, frames, start_time, duration)
107 const int channels = 2; local
130 const int channels = 2; local
152 const int channels = 2; local
185 const int channels = 4; local
218 const int channels = 4; local
239 const int channels = 4; local
    [all...]
audio_converter.cc 30 input_channel_count_(input_params.channels()) {
38 << input_params.channels() << " channels to "
39 << output_params.channels() << " channels.";
43 downmix_early_ = input_params.channels() > output_params.channels();
52 input_params.channels(), output_params.frames_per_buffer());
65 downmix_early_ ? output_params.channels() :
66 input_params.channels(),
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
MockServerSocketChannel.java 18 package org.apache.harmony.nio.tests.java.nio.channels;
22 import java.nio.channels.ServerSocketChannel;
23 import java.nio.channels.SocketChannel;
24 import java.nio.channels.spi.SelectorProvider;
SelectableChannelTest.java 17 package org.apache.harmony.nio.tests.java.nio.channels;
20 import java.nio.channels.ClosedChannelException;
21 import java.nio.channels.SelectableChannel;
22 import java.nio.channels.SelectionKey;
23 import java.nio.channels.Selector;
24 import java.nio.channels.spi.SelectorProvider;
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_AudioSpec.3 10 Uint8 channels;
28 Number of channels: 1 mono, 2 stereo
63 The number of seperate sound channels\&. 1 is mono (single channel), 2 is stereo (dual channel)\&.
66 When used with \fI\fBSDL_OpenAudio\fP\fR this refers to the size of the audio buffer in samples\&. A sample a chunk of audio data of the size specified in \fBformat\fR mulitplied by the number of channels\&. When the \fBSDL_AudioSpec\fR is used with \fI\fBSDL_LoadWAV\fP\fR \fBsamples\fR is set to 4096\&.
  /libcore/luni/src/main/java/java/nio/
SelectionKeyImpl.java 19 import java.nio.channels.CancelledKeyException;
20 import java.nio.channels.SelectableChannel;
21 import java.nio.channels.SelectionKey;
22 import java.nio.channels.Selector;
23 import java.nio.channels.SocketChannel;
24 import java.nio.channels.spi.AbstractSelectableChannel;
25 import java.nio.channels.spi.AbstractSelectionKey;
  /external/chromium_org/third_party/WebKit/Source/web/
WebDOMMessageEvent.cpp 57 OwnPtr<MessagePortChannelArray> channels = adoptPtr(new MessagePortChannelArray(webChannels.size())); local
59 (*channels)[i] = adoptPtr(webChannels[i]);
60 ports = MessagePort::entanglePorts(*window->document(), channels.release());
77 MessagePortChannelArray* channels = constUnwrap<MessageEvent>()->channels(); local
78 WebMessagePortChannelArray webChannels(channels ? channels->size() : 0);
79 if (channels) {
80 for (size_t i = 0; i < channels->size(); ++i)
81 webChannels[i] = (*channels)[i].leakPtr()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectionKeyTest.java 17 package org.apache.harmony.nio.tests.java.nio.channels.spi;
19 import java.nio.channels.SelectableChannel;
20 import java.nio.channels.SelectionKey;
21 import java.nio.channels.Selector;
22 import java.nio.channels.spi.AbstractSelectionKey;
  /external/chromium_org/third_party/WebKit/Source/core/dom/
MessagePort.cpp 74 OwnPtr<MessagePortChannelArray> channels; local
84 channels = MessagePort::disentanglePorts(ports, exceptionState);
91 if (channels && channels->size()) {
92 webChannels = new blink::WebMessagePortChannelArray(channels->size());
93 for (size_t i = 0; i < channels->size(); ++i)
94 (*webChannels)[i] = (*channels)[i].leakPtr();
150 static bool tryGetMessageFrom(blink::WebMessagePortChannel& webChannel, RefPtr<SerializedScriptValue>& message, OwnPtr<MessagePortChannelArray>& channels)
158 channels = adoptPtr(new MessagePortChannelArray(webChannels.size()));
160 (*channels)[i] = adoptPtr(webChannels[i])
174 OwnPtr<MessagePortChannelArray> channels; local
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
Selector.java 17 package java.nio.channels;
21 import java.nio.channels.spi.SelectorProvider;
26 * Selectable channels can be registered with a selector and get a
33 * canceled keys. During the select operation, the channels registered with this
60 * that are still valid are invalidated and their channels are unregistered.
96 * Detects if any of the registered channels is ready for I/O operations
101 * @return the number of channels that are ready for operation.
110 * Detects if any of the registered channels is ready for I/O operations
118 * if no channels get ready.
119 * @return the number of channels that are ready for operation
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ossaudiodev.py 101 (fmt, channels, rate) = config
103 dsp.channels(channels) == channels and
112 result = dsp.setparameters(fmt, channels, rate, False)
113 self.assertEqual(result, (fmt, channels, rate),
116 result = dsp.setparameters(fmt, channels, rate, True)
117 self.assertEqual(result, (fmt, channels, rate),
122 # channels currently exceeds even Hollywood's ambitions, and
128 channels =
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ossaudiodev.py 101 (fmt, channels, rate) = config
103 dsp.channels(channels) == channels and
112 result = dsp.setparameters(fmt, channels, rate, False)
113 self.assertEqual(result, (fmt, channels, rate),
116 result = dsp.setparameters(fmt, channels, rate, True)
117 self.assertEqual(result, (fmt, channels, rate),
122 # channels currently exceeds even Hollywood's ambitions, and
128 channels =
    [all...]
  /external/tremolo/Tremolo/
mapping0.c 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels)));
88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels)));
93 testM>=vi->channels ||
94 testA>=vi->channels) goto err_out;
102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels);
103 for(i=0;i<vi->channels;i++){
133 alloca(sizeof(*pcmbundle)*vi->channels);
135 alloca(sizeof(*zerobundle)*vi->channels);
137 alloca(sizeof(*nonzero)*vi->channels);
139 alloca(sizeof(*floormemo)*vi->channels);
    [all...]
  /frameworks/av/services/audioflinger/
test-resample.cpp 55 uint16_t numChannels; // num channels
86 int channels = 1; local
101 channels = 2;
173 input_size = channels * sizeof(int16_t) * input_frames;
180 for (size_t j=0 ; j<(size_t)channels ; j++) {
181 in[i*channels + j] = yi / (1+j);
192 Provider(const void* addr, size_t size, int channels) {
194 mNumFrames = size / (channels*sizeof(int16_t));
204 } provider(input_vaddr, input_size, channels);
206 size_t input_frames = input_size / (channels * sizeof(int16_t))
266 HeaderWav wav(out_frames * channels * sizeof(int16_t), channels, output_freq, 16); local
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
DefaultServer.java 61 // First two channels are reserved for reliable and
74 private List<KernelAdapter> channels = new ArrayList<KernelAdapter>(); field in class:DefaultServer
98 channels.add( reliableAdapter );
101 channels.add( fastAdapter );
118 throw new IllegalStateException( "Channels cannot be added once server is started." );
120 // Note: it does bug me that channels aren't 100% universal and
128 // Check for consistency with the channels list
129 if( channels.size() - CH_FIRST != alternatePorts.size() )
137 channels.add( new KernelAdapter(this, kernel, dispatcher, true) );
157 for( KernelAdapter ka : channels ) {
444 private Endpoint[] channels; field in class:DefaultServer.Connection
    [all...]
  /external/chromium_org/media/audio/
audio_parameters.cc 51 int channels, int input_channels,
59 channels_(channels),
63 DCHECK_EQ(channels, ChannelLayoutToChannelCount(channel_layout));
67 int channels, int input_channels,
71 DCHECK_EQ(channels, ChannelLayoutToChannelCount(channel_layout));
75 channels_ = channels;
  /external/chromium_org/tools/
omahaproxy.py 31 channels = set()
40 channels.add(version['channel'])
45 channels = sorted(channels)
59 choices=channels,
62 '[default: %%default]' % ', '.join(channels))
  /external/chromium_org/media/filters/
audio_file_reader.cc 103 codec_context_->channel_layout, codec_context_->channels) ==
109 channels_ = codec_context_->channels;
127 DCHECK_EQ(audio_bus->channels(), channels());
128 if (audio_bus->channels() != channels())
184 int channels = av_get_channel_layout_nb_channels( local
187 int channels = av_frame->channels; local
190 channels != channels_ |
214 int channels = audio_bus->channels(); local
    [all...]
  /external/chromium_org/third_party/opus/src/celt/
opus_custom_demo.c 51 opus_int32 frame_size, channels, rate; local
64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> "
71 channels = atoi(argv[2]);
104 enc = opus_custom_encoder_create(mode, channels, &err);
112 dec = opus_custom_decoder_create(mode, channels, &err);
128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
134 err = fread(in, sizeof(short), frame_size*channels, fin);
174 for (i=0;i<ret*channels;i++)
178 for (i=0;i<ret*channels;i++
    [all...]
  /external/chromium_org/media/audio/alsa/
alsa_util.h 21 int channels,
28 int channels,
  /external/jmonkeyengine/engine/src/core/com/jme3/audio/
AudioData.java 48 protected int channels; field in class:AudioData
82 * @return Number of channels. 1 for mono, 2 for stereo, etc.
85 return channels;
97 * @param channels # of channels, 1 = mono, 2 = stereo
101 public void setupFormat(int channels, int bitsPerSample, int sampleRate){
105 this.channels = channels;

Completed in 963 milliseconds

12 3 4 5 6 7 8 91011>>