/frameworks/base/services/audioflinger/ |
AudioHardwareGeneric.cpp | 66 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 80 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); 100 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, 120 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); 204 if (lChannels == 0) lChannels = channels(); 209 (lChannels != channels()) || 212 if (pChannels) *pChannels = channels(); 254 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); 322 (*pChannels != channels()) || 326 *pChannels = channels(); [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 18 package libcore.java.nio.channels; 32 import java.nio.channels.NoConnectionPendingException; 33 import java.nio.channels.NotYetConnectedException; 34 import java.nio.channels.SelectionKey; 35 import java.nio.channels.ServerSocketChannel; 36 import java.nio.channels.SocketChannel; 37 import java.nio.channels.UnresolvedAddressException; 38 import java.nio.channels.UnsupportedAddressTypeException; 39 import java.nio.channels.spi.SelectorProvider; 251 * @tests java.nio.channels.SocketChannel#read(ByteBuffer [all...] |
/external/bluetooth/bluez/audio/ |
gstrtpsbcpay.c | 83 "channels = (int) [ 1, 2 ], " 106 static gint gst_rtp_sbc_pay_get_frame_len(gint subbands, gint channels, 112 len = 4 + (4 * subbands * channels)/8; 116 len += ((blocks * channels * bitpool) + 7) / 8; 129 gint rate, subbands, channels, blocks, bitpool; local 139 if (!gst_structure_get_int(structure, "channels", &channels)) 152 frame_len = gst_rtp_sbc_pay_get_frame_len(subbands, channels, blocks,
|
/external/bluetooth/bluez/sbc/ |
formats.h | 54 uint32_t channels; /* number of channels (voices) */ member in struct:au_header
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
AbstractSelectionKey.java | 17 package java.nio.channels.spi; 19 import java.nio.channels.SelectionKey;
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
sample.h | 40 * and channels, transparently converting and mixing them as needed. 68 * \section chan_sec Channels 70 * PulseAudio supports up to 16 individiual channels. The order of the 71 * channels is up to the application, but they must be continous. To map 72 * channels to speakers, see \ref channelmap. 116 /** Maximum number of allowed channels */ 172 uint8_t channels; /**< Audio channels. (1 for mono, 2 for stereo, ...) */ member in struct:pa_sample_spec
|
/system/media/opensles/tests/sandbox/ |
playbq.c | 46 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which]; 52 SLresult result = (*bufq)->Enqueue(bufq, buffer, count * sfinfo.channels * 97 switch (sfinfo.channels) { 102 fprintf(stderr, "unsupported channel count %d\n", sfinfo.channels); 139 buffers = (short *) malloc(framesPerBuffer * sfinfo.channels * sizeof(short) * numBuffers); 180 format_pcm.numChannels = sfinfo.channels; 234 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which]; 244 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, count * sfinfo.channels *
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/Management/scan/scanCncn/ |
ScanCncn.h | 124 * Indicated which channels were 161 * The min dwell time for all channels 168 * The max dwell time for all channels 246 * \brief Verifies that specified channels are allowed for the specified scan type, and removes those that are not.\n 250 * \param pScanParams - a pointer to the structure holding the scan params (inc. channels and scan type) 261 * \param pScanParams - a pointer to the structure holding the scan params (inc. channels and scan type) 275 * \param pNumOfChannels - the number of channels (input - size of channel list, output - actual number of channels).\n
|
ScanCncnOidSM.h | 189 * \brief Fills a chhanel array with valid channels (and their params) according to band and scan type\n 193 * \param band - band to extract channels for.\n 194 * \param scanType - scan type tp ectract channels for.\n 195 * \param channelArray - where to store allowed channels information.\n 200 * \return Number of allowed channels (that were placed in the given channels array).\n
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dmedia/ |
SDL_irixaudio.c | 190 if (alSetChannels(audio_config, spec->channels) < 0) { 191 if (spec->channels > 2) { /* can't handle > stereo? */ 192 spec->channels = 2; /* try again below. */ 199 (alSetChannels(audio_config, spec->channels) >= 0)) { 206 spec->channels = 2; 207 alSetChannels(audio_config, spec->channels);
|
/external/quake/quake/src/WinQuake/ |
snd_sun.cpp | 99 info.play.channels = 2; 105 info.play.channels = 1; 114 shm->channels = 1; 118 shm->channels = 2; 145 return ((info.play.samples*shm->channels) % shm->samples); 193 bsize = shm->channels * (shm->samplebits/8);
|
snd_dma.cpp | 39 channel_t channels[MAX_CHANNELS]; variable 120 Con_Printf("%5d stereo\n", shm->channels - 1); 221 shm->channels = 2; 373 && channels[ch_idx].entnum == entnum 374 && (channels[ch_idx].entchannel == entchannel || entchannel == -1) ) 381 if (channels[ch_idx].entnum == cl.viewentity && entnum != cl.viewentity && channels[ch_idx].sfx) 384 if (channels[ch_idx].end - paintedtime < life_left) 386 life_left = channels[ch_idx].end - paintedtime; 394 if (channels[first_to_die].sfx [all...] |
/external/speex/include/speex/ |
speex_echo.h | 82 * @param nb_mic Number of microphone channels 83 * @param nb_speakers Number of speaker channels 144 * @param channels Number of channels (it's a bit pointless if you don't have at least 2) 147 SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size); 149 /** Remove correlation between the channels by modifying the phase and possibly
|
/external/webkit/WebKit/chromium/src/ |
WebWorkerImpl.cpp | 82 PassOwnPtr<MessagePortChannelArray> channels) 89 MessagePort::entanglePorts(*context, channels.release()); 119 OwnPtr<MessagePortChannelArray> channels; local 121 channels = new MessagePortChannelArray(webChannels.size()); 126 (*channels)[i] = MessagePortChannel::create(platform_channel); 132 this, String(message), channels.release()));
|
/libcore/luni/src/main/java/org/apache/harmony/nio/internal/ |
IOUtil.java | 44 * Read method for InputStreamReader and Channels. 73 * Read method for InputStreamReader and Channels. 145 * Write method for OutputStreamWriter and Channels. 162 * Write method for OutputStreamWriter and Channels. 175 * Write method for OutputStreamWriter and Channels. 186 * Flush method for OutputStreamWriter and Channels.
|
ServerSocketChannelImpl.java | 27 import java.nio.channels.ClosedChannelException; 28 import java.nio.channels.IllegalBlockingModeException; 29 import java.nio.channels.NotYetBoundException; 30 import java.nio.channels.ServerSocketChannel; 31 import java.nio.channels.SocketChannel; 32 import java.nio.channels.spi.SelectorProvider;
|
DatagramChannelImpl.java | 36 import java.nio.channels.AlreadyConnectedException; 37 import java.nio.channels.ClosedChannelException; 38 import java.nio.channels.DatagramChannel; 39 import java.nio.channels.IllegalBlockingModeException; 40 import java.nio.channels.NotYetConnectedException; 41 import java.nio.channels.spi.SelectorProvider; 49 * The default implementation class of java.nio.channels.DatagramChannel. 125 * @see java.nio.channels.DatagramChannel#isConnected() 133 * @see java.nio.channels.DatagramChannel#connect(java.net.SocketAddress) 176 * @see java.nio.channels.DatagramChannel#disconnect( [all...] |
/external/quake/quake/src/QW/client/ |
snd_dma.c | 42 channel_t channels[MAX_CHANNELS]; variable 123 Con_Printf("%5d stereo\n", shm->channels - 1); 224 shm->channels = 2; 369 && channels[ch_idx].entnum == entnum 370 && (channels[ch_idx].entchannel == entchannel || entchannel == -1) ) 377 if (channels[ch_idx].entnum == cl.viewentity && entnum != cl.viewentity && channels[ch_idx].sfx) 380 if (channels[ch_idx].end - paintedtime < life_left) 382 life_left = channels[ch_idx].end - paintedtime; 390 if (channels[first_to_die].sfx [all...] |
/external/libpng/contrib/gregbook/ |
readppm.c | 68 int bit_depth, color_type, channels; variable 97 channels = 3; 100 channels = 4; 103 channels = 1; 152 /* GRR WARNING: grayscale needs to be expanded and channels reset! */ 154 *pRowbytes = rowbytes = channels*width; 155 *pChannels = channels;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/ |
SDL_mintaudio_dma8.c | 217 DEBUG_PRINT(("channels=%d, ", spec->channels)); 220 if (spec->channels > 2) 221 spec->channels = 2; 270 DEBUG_PRINT(("channels=%d, ", spec->channels)); 305 if (spec->channels==1) {
|
SDL_mintaudio_stfa.c | 205 DEBUG_PRINT(("channels=%d, ", spec->channels)); 208 if (spec->channels > 2) { 209 spec->channels = 2; /* no more than stereo! */ 233 DEBUG_PRINT(("channels=%d, ", spec->channels)); 258 if (spec->channels==2) {
|
SDL_mintaudio_mcsn.c | 224 DEBUG_PRINT(("channels=%d, ", spec->channels)); 227 if (spec->channels > 2) { 228 spec->channels = 2; /* no more than stereo! */ 235 spec->channels=1; 270 spec->channels=2; /* 16 bits always stereo */ 290 DEBUG_PRINT(("channels=%d, ", spec->channels)); 315 if (spec->channels==2) {
|
/hardware/msm7k/libaudio-qdsp5v2/ |
AudioHardware.cpp | 63 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 78 status_t rc = out->set(this, devices, format, channels, sampleRate); 103 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, 186 if (lChannels == 0) lChannels = channels(); 191 (lChannels != channels()) || 194 if (pChannels) *pChannels = channels(); 241 config.channel_count = AudioSystem::popCount(channels());
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
psy_main.c | 189 Word16 channels, 194 Word32 channelBitRate = bitRate/channels; 203 err = InitTnsConfigurationLong(bitRate, sampleRate, channels, 213 err = InitTnsConfigurationShort(bitRate, sampleRate, channels, 218 for(ch=0;ch < channels;ch++){ 221 bitRate, channels); 257 Word16 ch; /* counts through channels */ 260 Word16 channels; local 263 channels = elemInfo->nChannelsInEl; 267 for(ch = 0; ch < channels; ch++) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
SDL_macwm.c | 181 short channels = pTableGammaTemp->gChanCnt; local 183 if (3 == channels) /* RGB format */ 185 for (indexChan = 0; indexChan < channels; indexChan++) 192 for (indexChan = 0; indexChan < 768; indexChan += 256) /* repeat for all 3 channels (step by ramp size) */ 285 static Ptr CreateEmptyGammaTable (short channels, short entries, short bits) 291 tableSize = sizeof (GammaTbl) + (channels * entries * dataWidth); 299 pTableGammaOut->gChanCnt = channels; 315 short dataBits, entries, channels = 3; /* force three channels in the gamma table */ local 324 pTableGammaNew = (GammaTblPtr) CreateEmptyGammaTable (channels, entries, dataBits); /* our new table * [all...] |