Lines Matching defs:samples
46 * - 'desired->freq' should be the desired audio frequency in samples-per-second.
48 * - 'desired->samples' is the desired size of the audio buffer, in samples.
56 * Note that the number of samples is directly related to time by the
57 * following formula: ms = (samples*1000)/freq
75 int freq; /**< DSP frequency -- samples per second */
79 Uint16 samples; /**< Audio buffer size in samples (power of 2) */
89 * Stereo samples are stored in a LRLRLR ordering.
100 #define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */
101 #define AUDIO_S8 0x8008 /**< Signed 8-bit samples */
102 #define AUDIO_U16LSB 0x0010 /**< Unsigned 16-bit samples */
103 #define AUDIO_S16LSB 0x8010 /**< Signed 16-bit samples */