Home
last modified time | relevance | path

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

/haiku/src/bin/media_client/
H A DMediaPlay.cpp25 media_format playFormat; variable
77 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()
/haiku/src/tests/kits/media/playsound/
H A Dplayfile.cpp22 media_format playFormat; variable
83 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()
/haiku/src/kits/game/
H A DFileGameSound.cpp334 media_format playFormat; in Init() local
335 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()