Lines Matching refs:desc

188 status_t OpenSoundDevice::get_media_format_description_for(int fmt, media_format_description *desc, int count)
192 desc[i] = media_format_description();
196 desc[0].family = B_BEOS_FORMAT_FAMILY;
197 desc[0].u.beos.format = 1;
202 desc[0].family = B_MISC_FORMAT_FAMILY;
203 desc[0].u.misc.file_format = '.snd';
204 desc[0].u.misc.codec = 'ulaw';
207 desc[1].family = B_WAV_FORMAT_FAMILY;
208 desc[1].u.wav.codec = 0x07;
212 desc[1].family = B_QUICKTIME_FORMAT_FAMILY;
213 desc[1].u.quicktime.codec = 'ulaw';
214 desc[1].u.quicktime.vendor = 0;
217 desc[0].family = B_MISC_FORMAT_FAMILY;
218 desc[0].u.misc.file_format = '.snd';
219 desc[0].u.misc.codec = 'alaw';
223 desc[0].family = B_BEOS_FORMAT_FAMILY;
224 desc[0].u.beos.format = 'ima4';
227 desc[0].family = B_MPEG_FORMAT_FAMILY;
228 desc[0].u.mpeg.id = 0x102;
231 desc[1].family = B_WAV_FORMAT_FAMILY;
232 desc[1].u.wav.codec = 0x50;
235 desc[1].family = B_AVI_FORMAT_FAMILY;
236 desc[1].u.avi.codec = 0x65610050;
239 desc[0].family = B_WAV_FORMAT_FAMILY;
240 desc[0].u.wav.codec = 0x2000;
243 desc[1].family = B_AVI_FORMAT_FAMILY;
244 desc[1].u.avi.codec = 0x65612000;
248 desc[0].family = B_MISC_FORMAT_FAMILY;
249 desc[0].u.misc.file_format = 'OSS4';
250 desc[0].u.misc.codec = 'VORB';
254 desc[0].family = B_MISC_FORMAT_FAMILY;
255 desc[0].u.misc.file_format = 'OSS4';
256 desc[0].u.misc.codec = 'PDIF';
260 desc[0].family = B_MISC_FORMAT_FAMILY;
261 desc[0].u.misc.file_format = 'OSS4';
262 desc[0].u.misc.codec = 'S24P';
280 media_format_description desc[10];
281 err = count = get_media_format_description_for(gSupportedFormats[i], desc, 10);
291 err = formats.MakeFormatFor(desc, count, &format);
311 media_format_description desc;
312 err = get_media_format_description_for(fmt, &desc);
315 err = formats.GetFormatFor(desc, &format);