Home | History | Annotate | Download | only in SDL

Lines Matching refs:samples

43 	int freq;		/* DSP frequency -- samples per second */
47 Uint16 samples; /* Audio buffer size in samples (power of 2) */
54 Stereo samples are stored in a LRLRLR ordering.
61 #define AUDIO_U8 0x0008 /* Unsigned 8-bit samples */
62 #define AUDIO_S8 0x8008 /* Signed 8-bit samples */
63 #define AUDIO_U16LSB 0x0010 /* Unsigned 16-bit samples */
64 #define AUDIO_S16LSB 0x8010 /* Signed 16-bit samples */
121 * 'desired->freq' should be the desired audio frequency in samples-per-second.
123 * 'desired->samples' is the desired size of the audio buffer, in samples.
131 * Note that the number of samples is directly related to time by the
132 * following formula: ms = (samples*1000)/freq