Lines Matching defs:format
50 const gs_audio_format *format, BGameSoundDevice *device)
57 gs_audio_format actual = *format;
62 = get_sample_size(format->format) * format->channel_count;
74 gs_audio_format format;
77 status_t error = other.Device()->Buffer(other.ID(), &format, data);
81 Init(data, 0, &format);
94 gs_audio_format format;
97 status_t error = Device()->Buffer(ID(), &format, data);
101 BSimpleGameSound *clone = new BSimpleGameSound(data, 0, &format, Device());
173 if (mformat.u.raw_audio.format == media_raw_audio_format::B_AUDIO_CHAR) {
174 // The GameKit doesnt support this format so we will have to reformat
193 gsformat.format = gs_audio_format::B_GS_U8;
200 // At the same time, we will store the format of the audio buffer
202 = get_sample_size(gsformat.format) * gsformat.channel_count;
223 const gs_audio_format* format)
228 = Device()->CreateBuffer(&sound, format, inData, inFrameCount);