/external/aac/libSYS/src/ |
wav_file.cpp | 87 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) { 113 FDKprintfErr("WAV_InputOpen(): Unable to allocate WAV struct.\n"); 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) 317 HANDLE_WAV wav = *pWav; local 388 HANDLE_WAV wav = (HANDLE_WAV)FDKcalloc(1, sizeof(struct WAV)); local 522 HANDLE_WAV wav = *pWav; local [all...] |
/external/qemu/audio/ |
wavcapture.c | 33 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 = opaque local 64 WAVState *wav = opaque; local 71 WAVState *wav = opaque; local 88 WAVState *wav; local [all...] |
wavaudio.c | 2 * QEMU WAV audio driver 29 #define AUDIO_CAP "wav" 35 /** VOICE OUT (Saving to a .WAV file) 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 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...] |
/system/media/audio_utils/ |
tinysndfile.c | 63 unsigned char wav[44]; local 65 actual = fread(wav, sizeof(char), sizeof(wav), stream); 66 if (actual != sizeof(wav)) 69 if (memcmp(wav, "RIFF", 4)) 71 unsigned riffSize = little4u(&wav[4]); 74 if (memcmp(&wav[8], "WAVEfmt ", 8)) 76 unsigned fmtsize = little4u(&wav[16]); 79 unsigned format = little2u(&wav[20]); 82 unsigned channels = little2u(&wav[22]) 137 unsigned char wav[44]; local 187 unsigned char wav[44]; local [all...] |
/external/aac/libSYS/include/ |
wav_file.h | 135 struct WAV 141 typedef struct WAV *HANDLE_WAV; 144 * \brief Open a WAV file handle for reading. 146 * \param pWav Pointer to a memory location, where a WAV handle is returned. 158 * \param wav Handle of WAV file. 165 INT WAV_InputRead (HANDLE_WAV wav, void *sampleBuffer, UINT numSamples, int nBufBits); 168 * \brief Close a WAV file reading handle. 169 * \param pWav Pointer to a WAV file reading handle. 175 * \brief Open WAV output/writer handle [all...] |
/external/quake/quake/src/QW/client/ |
snd_mem.c | 159 WAV loading 250 wavinfo_t GetWavinfo (char *name, byte *wav, int wavlength) 259 if (!wav) 262 iff_data = wav; 263 iff_end = wav + wavlength; 339 info.dataofs = data_p - wav;
|
sound.h | 166 wavinfo_t GetWavinfo (char *name, byte *wav, int wavlength);
|
/external/quake/quake/src/WinQuake/ |
snd_mem.cpp | 159 WAV loading 248 wavinfo_t GetWavinfo (char *name, byte *wav, int wavlength) 257 if (!wav) 260 iff_data = wav; 261 iff_end = wav + wavlength; 337 info.dataofs = data_p - wav;
|
sound.h | 175 wavinfo_t GetWavinfo (char *name, byte *wav, int wavlength);
|
/external/chromium/chrome/browser/resources/shared/js/ |
media_common.js | 10 return /\.(aac|aiff|atrac|cda|flac|m4a|mp3|pcm|oga|ogg|raw|wav)$/i.test(path);
|
/frameworks/av/services/audioflinger/ |
test-resample.cpp | 68 fprintf(stderr," -h create wav file\n"); 266 HeaderWav wav(out_frames * channels * sizeof(int16_t), channels, output_freq, 16); 267 write(output_fd, &wav, sizeof(wav));
|
/external/chromium/chrome/browser/resources/file_manager/js/ |
file_manager.js | 126 'audio': /\.(mp3|m4a|oga|ogg|wav)$/i, [all...] |