Home
last modified time | relevance | path

Searched refs:mPreferredFormat (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/media/media-add-ons/tone_producer_demo/
H A DToneProducer.cpp69 mPreferredFormat.type = B_MEDIA_RAW_AUDIO; in ToneProducer()
70 mPreferredFormat.u.raw_audio.format = media_raw_audio_format::B_AUDIO_FLOAT; in ToneProducer()
71mPreferredFormat.u.raw_audio.byte_order = (B_HOST_IS_BENDIAN) ? B_MEDIA_BIG_ENDIAN : B_MEDIA_LITTL… in ToneProducer()
74 mPreferredFormat.u.raw_audio.frame_rate = media_raw_audio_format::wildcard.frame_rate; in ToneProducer()
75 mPreferredFormat.u.raw_audio.buffer_size = media_raw_audio_format::wildcard.buffer_size; in ToneProducer()
78 mPreferredFormat.u.raw_audio.channel_count = media_raw_audio_format::wildcard.channel_count; in ToneProducer()
85 mOutput.format = mPreferredFormat; in ToneProducer()
219 *format = mPreferredFormat; in FormatSuggestionRequested()
247 *format = mPreferredFormat; in FormatProposal()
387 format->u.raw_audio.byte_order = mPreferredFormat.u.raw_audio.byte_order; in PrepareToConnect()
[all …]
H A DToneProducer.h184 media_format mPreferredFormat; variable