Searched refs:playFormat (Results 1 – 3 of 3) sorted by relevance
25 media_format playFormat; variable77 playFormat.type = B_MEDIA_RAW_AUDIO; in media_play()78 if ((track->DecodedFormat(&playFormat) == B_OK) in media_play()79 && (playFormat.type == B_MEDIA_RAW_AUDIO)) { in media_play()95 player = new BSoundPlayer(&playFormat.u.raw_audio, "playfile", play_buffer); in media_play()
22 media_format playFormat; variable83 playFormat.type = B_MEDIA_RAW_AUDIO; in main()84 if ((track->DecodedFormat(&playFormat) == B_OK) in main()85 && (playFormat.type == B_MEDIA_RAW_AUDIO)) { in main()101 sp = new BSoundPlayer(&playFormat.u.raw_audio, "playfile", play_buffer); in main()
334 media_format playFormat; in Init() local335 if ((error = fAudioStream->stream->EncodedFormat(&playFormat)) != B_OK) { in Init()341 if (!playFormat.IsAudio()) { in Init()350 playFormat.Clear(); in Init()351 playFormat.type = B_MEDIA_RAW_AUDIO; in Init()352 if (fAudioStream->stream->DecodedFormat(&playFormat) != B_OK) { in Init()360 media_to_gs_format(&gsformat, &playFormat.u.raw_audio); in Init()