Lines Matching refs:format
36 NEGOTIATE = 0x80000010, // Must (re-)negotiate format. For negotiate() only, the offeree
45 // Negotiation of format is based on the data provider and data sink, or the data consumer and
49 // attributes, rather than a struct with separate fields for format, sample rate, channel count,
60 size_t Format_frameSize(NBAIO_Format format);
63 size_t Format_frameBitShift(NBAIO_Format format);
69 unsigned Format_sampleRate(NBAIO_Format format);
72 unsigned Format_channelCount(NBAIO_Format format);
112 // Return the current negotiated format, or Format_Invalid if negotiation has not been done,
114 virtual NBAIO_Format format() const { return mNegotiated ? mFormat : Format_Invalid; }
117 NBAIO_Port(NBAIO_Format format) : mNegotiated(false), mFormat(format),
118 mBitShift(Format_frameBitShift(format)) { }
217 NBAIO_Sink(NBAIO_Format format = Format_Invalid) : NBAIO_Port(format), mFramesWritten(0) { }
304 NBAIO_Source(NBAIO_Format format = Format_Invalid) : NBAIO_Port(format), mFramesRead(0) { }