Home
last modified time | relevance | path

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

/external/qemu/audio/
Daudio_win_int.c21 wfx->nSamplesPerSec = as->freq; in waveformat_from_audio_settings()
63 if (!wfx->nSamplesPerSec) { in waveformat_to_audio_settings()
67 as->freq = wfx->nSamplesPerSec; in waveformat_to_audio_settings()
Dwinaudio.c176 format.nSamplesPerSec = as->freq; in winaudio_out_init()
192 format.nAvgBytesPerSec = (format.nSamplesPerSec & format.nChannels) << shift; in winaudio_out_init()
422 format.nSamplesPerSec = as->freq; in winaudio_in_init()
436 format.nAvgBytesPerSec = (format.nSamplesPerSec * format.nChannels) << shift; in winaudio_in_init()
Ddsoundaudio.c276 dolog ("nSamplesPerSec = %ld\n", wfx->nSamplesPerSec); in print_wave_format()
/external/srec/srec/EventLog/src/
Driff.c169 swapInt(&wf->nSamplesPerSec); in swapWaveFormat()
593 *rate = wf->nSamplesPerSec; in riffReadWave2L16()
728 swapInt(&wf->nSamplesPerSec); in readRiff2Buf()
774 if (wf->nSamplesPerSec == 8000) in readRiff2Buf()
776 else if (wf->nSamplesPerSec == 16000) in readRiff2Buf()
782 if (wf->nSamplesPerSec == 8000) in readRiff2Buf()
787 if (wf->nSamplesPerSec == 8000) in readRiff2Buf()
809 else if (wf->nSamplesPerSec == 16000) in readRiff2Buf()
815 if (wf->nSamplesPerSec == 8000) in readRiff2Buf()
817 else if (wf->nSamplesPerSec == 11000) in readRiff2Buf()
[all …]
DEventLogImpl.c611 header.waveinfo.nSamplesPerSec = impl->waveform_sample_rate; in writeRiffHeader()
629 …pfwrite(&header.waveinfo.nSamplesPerSec, sizeof(header.waveinfo.nSamplesPerSec), 1, impl->waveform… in writeRiffHeader()
/external/sonivox/arm-hybrid-22k/host_src/
Deas_wave.c112 FlipDWord(&p->fc.nSamplesPerSec); in FlipWaveHeader()
132 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32… in WaveFileCreate() argument
160 wFile->wh.fc.nSamplesPerSec = (EAS_U32) nSamplesPerSec; in WaveFileCreate()
163 wFile->wh.fc.nAvgBytesPerSec = wFile->wh.fc.nBlockAlign * (EAS_U32) nSamplesPerSec; in WaveFileCreate()
Deas_wave.h41 EAS_U32 nSamplesPerSec; member
66 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32…
/external/sonivox/arm-wt-22k/host_src/
Deas_wave.c112 FlipDWord(&p->fc.nSamplesPerSec); in FlipWaveHeader()
132 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32… in WaveFileCreate() argument
160 wFile->wh.fc.nSamplesPerSec = (EAS_U32) nSamplesPerSec; in WaveFileCreate()
163 wFile->wh.fc.nAvgBytesPerSec = wFile->wh.fc.nBlockAlign * (EAS_U32) nSamplesPerSec; in WaveFileCreate()
Deas_wave.h41 EAS_U32 nSamplesPerSec; member
66 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32…
/external/sonivox/arm-fm-22k/host_src/
Deas_wave.c112 FlipDWord(&p->fc.nSamplesPerSec); in FlipWaveHeader()
132 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32… in WaveFileCreate() argument
160 wFile->wh.fc.nSamplesPerSec = (EAS_U32) nSamplesPerSec; in WaveFileCreate()
163 wFile->wh.fc.nAvgBytesPerSec = wFile->wh.fc.nBlockAlign * (EAS_U32) nSamplesPerSec; in WaveFileCreate()
Deas_wave.h41 EAS_U32 nSamplesPerSec; member
66 WAVE_FILE *WaveFileCreate (const char *filename, EAS_I32 nChannels, EAS_I32 nSamplesPerSec, EAS_I32…
/external/quake/quake/src/QW/client/
Dsnd_win.c203 format.nSamplesPerSec = shm->speed; in SNDDMA_InitDirect()
207 format.nAvgBytesPerSec = format.nSamplesPerSec in SNDDMA_InitDirect()
324 shm->speed = format.nSamplesPerSec; in SNDDMA_InitDirect()
439 format.nSamplesPerSec = shm->speed; in SNDDMA_InitWav()
443 format.nAvgBytesPerSec = format.nSamplesPerSec in SNDDMA_InitWav()
/external/quake/quake/src/WinQuake/
Dsnd_win.cpp205 format.nSamplesPerSec = shm->speed; in SNDDMA_InitDirect()
209 format.nAvgBytesPerSec = format.nSamplesPerSec in SNDDMA_InitDirect()
326 shm->speed = format.nSamplesPerSec; in SNDDMA_InitDirect()
441 format.nSamplesPerSec = shm->speed; in SNDDMA_InitWav()
445 format.nAvgBytesPerSec = format.nSamplesPerSec in SNDDMA_InitWav()
/external/qemu/distrib/sdl-1.2.12/src/audio/mme/
DSDL_mmeaudio.c152 shm->wFmt.wf.nSamplesPerSec = spec->freq; in MME_OpenAudio()
156 shm->wFmt.wf.nSamplesPerSec * shm->wFmt.wf.nBlockAlign; in MME_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/windib/
DSDL_dibaudio.c279 waveformat.nSamplesPerSec = spec->freq; in DIB_OpenAudio()
283 waveformat.nSamplesPerSec * waveformat.nBlockAlign; in DIB_OpenAudio()
/external/srec/srec/EventLog/include/
Driff.h56 unsigned int nSamplesPerSec; member
/external/srec/srec/include/
Dsample.h81 DWORD nSamplesPerSec; member
/external/qemu/distrib/sdl-1.2.12/src/audio/windx5/
DSDL_dx5audio.c652 waveformat.nSamplesPerSec = spec->freq; in DX5_OpenAudio()
656 waveformat.nSamplesPerSec * waveformat.nBlockAlign; in DX5_OpenAudio()