Lines Matching refs:source
27 AudioAdapter::AudioAdapter(AudioReader* source, const media_format& format)
29 fSource(source),
38 if (source && source->Format().type == B_MEDIA_RAW_AUDIO) {
42 != source->Format().u.raw_audio.format
43 || source->Format().u.raw_audio.byte_order != hostByteOrder)) {
45 fFormatConverter = new (nothrow) AudioFormatConverter(source,
47 source = fFormatConverter;
52 != source->Format().u.raw_audio.frame_rate) {
54 source->Format().u.raw_audio.frame_rate,
56 fResampler = new (nothrow) AudioResampler(source,
58 source = fResampler;
63 != source->Format().u.raw_audio.channel_count) {
65 source->Format().u.raw_audio.channel_count,
67 fChannelConverter = new (nothrow) AudioChannelConverter(source,
69 source = fChannelConverter;
72 fFinalConverter = source;