Home
last modified time | relevance | path

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

/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()
Ddsoundaudio.c279 dolog ("wBitsPerSample = %d\n", wfx->wBitsPerSample); in print_wave_format()
/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/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-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/quake/quake/src/QW/client/
Dsnd_win.c202 format.wBitsPerSample = shm->samplebits; in SNDDMA_InitDirect()
205 *format.wBitsPerSample / 8; in SNDDMA_InitDirect()
323 shm->samplebits = format.wBitsPerSample; in SNDDMA_InitDirect()
438 format.wBitsPerSample = shm->samplebits; in SNDDMA_InitWav()
441 *format.wBitsPerSample / 8; in SNDDMA_InitWav()
/external/quake/quake/src/WinQuake/
Dsnd_win.cpp204 format.wBitsPerSample = shm->samplebits; in SNDDMA_InitDirect()
207 *format.wBitsPerSample / 8; in SNDDMA_InitDirect()
325 shm->samplebits = format.wBitsPerSample; in SNDDMA_InitDirect()
440 format.wBitsPerSample = shm->samplebits; in SNDDMA_InitWav()
443 *format.wBitsPerSample / 8; in SNDDMA_InitWav()
/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.c614 header.waveinfo.wBitsPerSample = (unsigned short)((bytes_sec * 8) / impl->waveform_sample_rate); in writeRiffHeader()
632 …pfwrite(&header.waveinfo.wBitsPerSample, sizeof(header.waveinfo.wBitsPerSample), 1, impl->waveform… in writeRiffHeader()
/external/qemu/distrib/sdl-1.2.12/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/qemu/distrib/sdl-1.2.12/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.12/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/srec/srec/EventLog/include/
Driff.h68 unsigned short wBitsPerSample; member
/external/srec/srec/include/
Dsample.h93 WORD wBitsPerSample; member