Home
last modified time | relevance | path

Searched refs:wBitsPerSample (Results 1 – 25 of 29) sorted by relevance

12

/external/qemu/audio/
Daudio_win_int.c29 wfx->wBitsPerSample = 8; in waveformat_from_audio_settings()
34 wfx->wBitsPerSample = 16; in waveformat_from_audio_settings()
41 wfx->wBitsPerSample = 32; in waveformat_from_audio_settings()
86 switch (wfx->wBitsPerSample) { in waveformat_to_audio_settings()
102 wfx->wBitsPerSample); in waveformat_to_audio_settings()
Dwinaudio.c194 format.wBitsPerSample = 8 << shift; in winaudio_out_init()
438 format.wBitsPerSample = 8 << shift; in winaudio_in_init()
/external/sonivox/arm-fm-22k/host_src/
Deas_wave.c115 FlipWord(&p->fc.wBitsPerSample); in FlipWaveHeader()
132 …ileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 wBitsPerSample) in WaveFileCreate() argument
161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; in WaveFileCreate()
162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); in WaveFileCreate()
Deas_wave.h44 EAS_U16 wBitsPerSample; member
66 …leCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 wBitsPerSample);
/external/sonivox/arm-wt-22k/host_src/
Deas_wave.c115 FlipWord(&p->fc.wBitsPerSample); in FlipWaveHeader()
132 …ileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 wBitsPerSample) in WaveFileCreate() argument
161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; in WaveFileCreate()
162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); in WaveFileCreate()
Deas_wave.h44 EAS_U16 wBitsPerSample; member
66 …leCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 wBitsPerSample);
/external/sonivox/arm-hybrid-22k/host_src/
Deas_wave.c115 FlipWord(&p->fc.wBitsPerSample); in FlipWaveHeader()
132 …ileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 wBitsPerSample) in WaveFileCreate() argument
161 wFile->wh.fc.wBitsPerSample = (EAS_U16) wBitsPerSample; in WaveFileCreate()
162 wFile->wh.fc.nBlockAlign = (EAS_U16) (nChannels * (EAS_U16) (wBitsPerSample / 8)); in WaveFileCreate()
Deas_wave.h44 EAS_U16 wBitsPerSample; member
66 …leCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32 wBitsPerSample);
/external/chromium_org/media/audio/win/
Dwaveout_output_win.cc97 format_.Format.wBitsPerSample = params.bits_per_sample(); in PCMWaveOutAudioOutputStream()
101 format_.Format.wBitsPerSample) / 8; in PCMWaveOutAudioOutputStream()
332 format_.Format.wBitsPerSample / 8; in QueueNextPacket()
339 frames_filled, format_.Format.wBitsPerSample / 8, buffer->lpData); in QueueNextPacket()
Dwavein_input_win.cc41 format_.wBitsPerSample = params.bits_per_sample(); in PCMWaveInAudioInputStream()
43 format_.nBlockAlign = (format_.nChannels * format_.wBitsPerSample) / 8; in PCMWaveInAudioInputStream()
299 obj->format_.wBitsPerSample / 8); in WaveCallback()
Daudio_low_latency_input_win.cc63 format_.wBitsPerSample = params.bits_per_sample(); in WASAPIAudioInputStream()
65 format_.nBlockAlign = (format_.wBitsPerSample / 8) * format_.nChannels; in WASAPIAudioInputStream()
443 audio_data, audio_bus_->frames(), format_.wBitsPerSample / 8); in Run()
587 DVLOG(2) << " wBitsPerSample : " << format.wBitsPerSample; in GetAudioEngineStreamFormat()
Daudio_low_latency_output_win.cc91 format->wBitsPerSample = params.bits_per_sample(); in WASAPIAudioOutputStream()
92 format->nBlockAlign = (format->wBitsPerSample / 8) * format->nChannels; in WASAPIAudioOutputStream()
502 const int bytes_per_sample = format_.Format.wBitsPerSample >> 3; in RenderAudioFromSource()
Dcore_audio_util_win.cc117 << ", wBitsPerSample: " << format.Format.wBitsPerSample in operator <<()
574 format.Format.nBlockAlign = (format.Format.wBitsPerSample / 8) * channels; in IsChannelLayoutSupported()
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/
DSDL_mmeaudio.c139 shm->wFmt.wBitsPerSample = 8; in MME_OpenAudio()
144 shm->wFmt.wBitsPerSample = 16; in MME_OpenAudio()
154 shm->wFmt.wf.nChannels * shm->wFmt.wBitsPerSample / 8; in MME_OpenAudio()
/external/srec/srec/EventLog/src/
Driff.c172 swapShort(&wf->wBitsPerSample); in swapWaveFormat()
228 if (wf->wBitsPerSample != 16 && wf->wBitsPerSample != 8) in readPCMWave()
234 *length = data->length * 8 / wf->wBitsPerSample; in readPCMWave()
236 if (wf->wBitsPerSample == 16) in readPCMWave()
261 if (wf->wBitsPerSample != 8) in readMulawWave()
286 if (wf->wBitsPerSample != 8) in readAlawWave()
1037 header.waveinfo.wBitsPerSample = swapConstShort((short)((bytes_sec * 8) / rate)); in convertBuf2Riff()
1054 header.waveinfo.wBitsPerSample = (bytes_sec * 8) / rate; in convertBuf2Riff()
DEventLogImpl.c626 header.waveinfo.wBitsPerSample = (unsigned short)((bytes_sec * 8) / impl->waveform_sample_rate); in writeRiffHeader()
644 …pfwrite(&header.waveinfo.wBitsPerSample, sizeof(header.waveinfo.wBitsPerSample), 1, impl->waveform… in writeRiffHeader()
/external/qemu/distrib/sdl-1.2.15/src/audio/windib/
DSDL_dibaudio.c267 waveformat.wBitsPerSample = 8; in DIB_OpenAudio()
272 waveformat.wBitsPerSample = 16; in DIB_OpenAudio()
281 waveformat.nChannels * (waveformat.wBitsPerSample/8); in DIB_OpenAudio()
/external/qemu/distrib/sdl-1.2.15/src/audio/windx5/
DSDL_dx5audio.c559 if ( wavefmt->wBitsPerSample == 8 ) { in CreateSecondary()
639 waveformat.wBitsPerSample = 8; in DX5_OpenAudio()
645 waveformat.wBitsPerSample = 16; in DX5_OpenAudio()
654 waveformat.nChannels * (waveformat.wBitsPerSample/8); in DX5_OpenAudio()
/external/chromium_org/remoting/host/
Daudio_capturer_win.cc124 wave_format_ex_->wBitsPerSample = kBitsPerSample; in Start()
148 wave_format_extensible->Format.wBitsPerSample = kBitsPerSample; in Start()
/external/srec/srec/EventLog/include/
Driff.h68 unsigned short wBitsPerSample; member
/external/srec/srec/include/
Dsample.h93 WORD wBitsPerSample; member
/external/chromium_org/third_party/webrtc/modules/audio_device/win/
Daudio_mixer_manager_win.cc596 waveFormat.wBitsPerSample = 16; in OpenSpeaker()
597 waveFormat.nBlockAlign = waveFormat.nChannels * waveFormat.wBitsPerSample / 8; in OpenSpeaker()
717 waveFormat.wBitsPerSample = 16; in OpenSpeaker()
718 waveFormat.nBlockAlign = waveFormat.nChannels * waveFormat.wBitsPerSample / 8; in OpenSpeaker()
818 waveFormat.wBitsPerSample = 16; in OpenMicrophone()
819 waveFormat.nBlockAlign = waveFormat.nChannels * waveFormat.wBitsPerSample / 8; in OpenMicrophone()
939 waveFormat.wBitsPerSample = 16; in OpenMicrophone()
940 waveFormat.nBlockAlign = waveFormat.nChannels * waveFormat.wBitsPerSample / 8; in OpenMicrophone()
Daudio_device_core_win.cc2233 … WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "wBitsPerSample : %d", pWfxOut->wBitsPerSample); in InitPlayout()
2239 Wfx.wBitsPerSample = 16; in InitPlayout()
2252 Wfx.nBlockAlign = Wfx.nChannels * Wfx.wBitsPerSample / 8; in InitPlayout()
2293 … WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "wBitsPerSample : %d", Wfx.wBitsPerSample); in InitPlayout()
2342 … pWfxClosestMatch->nChannels, pWfxClosestMatch->nSamplesPerSec, pWfxClosestMatch->wBitsPerSample); in InitPlayout()
2444 ptrWav->wBitsPerSample = 16; in InitRecordingDMO()
2570 … WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "wBitsPerSample : %d", pWfxIn->wBitsPerSample); in InitRecording()
2576 Wfx.wBitsPerSample = 16; in InitRecording()
2589 Wfx.nBlockAlign = Wfx.nChannels * Wfx.wBitsPerSample / 8; in InitRecording()
2625 … WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "wBitsPerSample : %d", Wfx.wBitsPerSample); in InitRecording()
[all …]
/external/chromium_org/third_party/webrtc/modules/media_file/source/
Dmedia_file_utility.cc184 waveFormatHeader.wBitsPerSample = 8; in InitAviWriting()
197 waveFormatHeader.wBitsPerSample = 8; in InitAviWriting()
211 waveFormatHeader.wBitsPerSample = 16; in InitAviWriting()
229 waveFormatHeader.wBitsPerSample, in InitAviWriting()
367 waveHeader.wBitsPerSample, waveHeader.wFormatTag) != 0) in InitAviReading()
Davi_file.h75 uint16_t wBitsPerSample; member

12