Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DStream.cpp87 if (format->fNumChannels > 2) { in _ChooseAlternate()
89 "is not supported.\n", i, format->fNumChannels); in _ChooseAlternate()
104 uint16 chxRes = format->fNumChannels * 100 + format->fBitResolution; in _ChooseAlternate()
163 uint32 sampleSize = format->fNumChannels * format->fSubframeSize; in _SetupBuffers()
303 size_t bufferSize = format->fNumChannels * format->fSubframeSize; in _QueueNextTransfer()
498 struct buffer_desc descs[format->fNumChannels]; in GetBuffers()
500 channel < format->fNumChannels; channel++) { in GetBuffers()
502 uint32 stride = format->fSubframeSize * format->fNumChannels; in GetBuffers()
520 List->return_record_channels += format->fNumChannels; in GetBuffers()
524 List->return_playback_channels += format->fNumChannels; in GetBuffers()
H A DAudioStreamingInterface.cpp137 fNumChannels(0), in TypeIFormatDescriptor()
154 fNumChannels = Descriptor->typeI.nr_channels; in Init()
169 TRACE(UAC, "fNumChannels:%d\n", fNumChannels); in Init()
H A DAudioStreamingInterface.h71 uint8 fNumChannels; variable