Searched defs:wav (Results 1 - 3 of 3) sorted by relevance

/external/qemu/audio/
H A Dwavcapture.c33 WAVState *wav = opaque; local
36 uint32_t datalen = wav->bytes;
39 if (wav->f) {
43 qemu_fseek (wav->f, 4, SEEK_SET);
44 qemu_put_buffer (wav->f, rlen, 4);
46 qemu_fseek (wav->f, 32, SEEK_CUR);
47 qemu_put_buffer (wav->f, dlen, 4);
48 qemu_fclose (wav->f);
51 qemu_free (wav->path);
56 WAVState *wav local
64 WAVState *wav = opaque; local
71 WAVState *wav = opaque; local
88 WAVState *wav; local
[all...]
H A Dwavaudio.c29 #define AUDIO_CAP "wav"
55 "qemu.wav"
60 WAVVoiceOut *wav = (WAVVoiceOut *) hw; local
65 int64_t ticks = now - wav->old_ticks;
76 wav->old_ticks = now;
85 dst = advance (wav->pcm_buf, rpos << hw->info.shift);
88 qemu_put_buffer (wav->f, dst, convert_samples << hw->info.shift);
92 wav->total_samples += convert_samples;
116 WAVVoiceOut *wav = (WAVVoiceOut *) hw; local
152 wav
179 WAVVoiceOut *wav = (WAVVoiceOut *) hw; local
249 WAVVoiceIn* wav = (WAVVoiceIn *) hw; local
332 WAVVoiceIn *wav = (WAVVoiceIn *) hw; local
347 WAVVoiceIn* wav = (WAVVoiceIn *) hw; local
[all...]
/external/aac/libSYS/src/
H A Dwav_file.cpp87 Description: a rudimentary wav file interface
102 * \wav->fp filepointer of type FILE*.
109 HANDLE_WAV wav = (HANDLE_WAV)FDKcalloc(1, sizeof(struct WAV)); local
112 if (wav == NULL) {
117 wav->fp = FDKfopen(filename, "rb");
118 if (wav->fp == NULL) {
119 FDKprintfErr("WAV_InputOpen(): Unable to open wav file. %s\n", filename);
124 if (FDKfread(&(wav->header.riffType), 1, 4, wav->fp) != 4) {
128 if (FDKstrncmp("RIFF", wav
259 WAV_InputRead(HANDLE_WAV wav, void *buffer, UINT numSamples, int nBits) argument
316 HANDLE_WAV wav = *pWav; local
387 HANDLE_WAV wav = (HANDLE_WAV)FDKcalloc(1, sizeof(struct WAV)); local
465 WAV_OutputWrite(HANDLE_WAV wav, void *sampleBuffer, UINT numberOfSamples, int nBufBits, int nSigBits) argument
528 HANDLE_WAV wav = *pWav; local
[all...]

Completed in 500 milliseconds