Lines Matching defs:data

359 /* global data for get_audio.c. */
392 /* read mp3 file until mpglib returns one frame of PCM data */
723 * PURPOSE: reads a frame of audio data from a file to the buffer,
724 * aligns the data for future processing, and separates the
796 * NOTE: LAME can now handle arbritray size input data packets,
797 * so there is no reason to read the input data in chuncks of
799 * will get out of sync if we read more than framesize worth of data.
1042 fwrite("data", 1, 4, fp); /* label */
1043 write_32_bits_low_high(fp, pcmbytes); /* length in bytes of raw PCM data */
1160 printf("RAW PCM data. ");
1179 DEBUGF("PCM data in 8, 16, 24 or 32 bits.");
1199 DEBUGF("Big endian PCM data.");
1202 DEBUGF("Little endian PCM data.");
1438 static uint32_t const IFF_ID_NONE = 0x4e4f4e45; /* "NONE" *//* AIFF-C data format */
1439 static uint32_t const IFF_ID_2CBE = 0x74776f73; /* "twos" *//* AIFF-C data format */
1440 static uint32_t const IFF_ID_2CLE = 0x736f7774; /* "sowt" *//* AIFF-C data format */
1441 static uint32_t const IFF_ID_FL32 = 0x666C3332; /* "fl32" *//* AIFF-C data format */
1442 static uint32_t const IFF_ID_FL64 = 0x666C3634; /* "fl64" *//* AIFF-C data format */
1447 static uint32_t const WAV_ID_DATA = 0x64617461; /* "data" */
1532 /* We've found the audio data. Read no further! */
1549 error_printf("Unsupported data format: 0x%04X\n", ui16_wFormatTag);
1591 error_printf("ERROR: input sound data is not PCM\n");
1603 error_printf("ERROR: input sound data is not 8, 16, 24 or 32 bits\n");
1609 error_printf("ERROR: input sound data is not mono or stereo\n");
1615 error_printf("ERROR: block size of input sound data is not 0 bytes\n");
1703 /* We've found the audio data. Read no further! */
1766 error_printf("Can't rewind stream to audio data position\n");
1789 * beginning of the sound data.
1805 If you know you have RAW PCM data, use the -r switch
2033 * data stream
2299 /* headers are parsed, no data will be decoded. */
2359 0 ok, but need more data before outputing any samples
2369 /* first see if we still have data buffered in the decoder: */
2379 /* we are done reading the file, but check for buffered data */
2424 char data[2 * 1152 * 2];
2432 data[m++] = HIGH_BYTE(x);
2433 data[m++] = LOW__BYTE(x);
2440 data[m++] = HIGH_BYTE(x);
2441 data[m++] = LOW__BYTE(x);
2443 data[m++] = HIGH_BYTE(y);
2444 data[m++] = LOW__BYTE(y);
2453 data[m++] = LOW__BYTE(x);
2454 data[m++] = HIGH_BYTE(x);
2461 data[m++] = LOW__BYTE(x);
2462 data[m++] = HIGH_BYTE(x);
2464 data[m++] = LOW__BYTE(y);
2465 data[m++] = HIGH_BYTE(y);
2470 fwrite(data, 1, m, outf);