Searched refs:playFormat (Results 1 - 3 of 3) sorted by relevance

/haiku/src/tests/kits/media/playsound/
H A Dplayfile.cpp22 media_format playFormat; variable
83 playFormat.type = B_MEDIA_RAW_AUDIO;
84 if ((track->DecodedFormat(&playFormat) == B_OK)
85 && (playFormat.type == B_MEDIA_RAW_AUDIO)) {
101 sp = new BSoundPlayer(&playFormat.u.raw_audio, "playfile", play_buffer);
/haiku/src/bin/media_client/
H A DMediaPlay.cpp25 media_format playFormat; variable
77 playFormat.type = B_MEDIA_RAW_AUDIO;
78 if ((track->DecodedFormat(&playFormat) == B_OK)
79 && (playFormat.type == B_MEDIA_RAW_AUDIO)) {
95 player = new BSoundPlayer(&playFormat.u.raw_audio, "playfile", play_buffer);
/haiku/src/kits/game/
H A DFileGameSound.cpp334 media_format playFormat; local
335 if ((error = fAudioStream->stream->EncodedFormat(&playFormat)) != B_OK) {
341 if (!playFormat.IsAudio()) {
350 playFormat.Clear();
351 playFormat.type = B_MEDIA_RAW_AUDIO;
352 if (fAudioStream->stream->DecodedFormat(&playFormat) != B_OK) {
360 media_to_gs_format(&gsformat, &playFormat.u.raw_audio);

Completed in 41 milliseconds