Android-cuttlefish cvd tool
Public Member Functions | List of all members
cuttlefish::RxBuffer Class Reference

#include <buffers.h>

Inheritance diagram for cuttlefish::RxBuffer:
Inheritance graph
[legend]
Collaboration diagram for cuttlefish::RxBuffer:
Collaboration graph
[legend]

Public Member Functions

 RxBuffer (const virtio_snd_pcm_xfer &header, volatile uint8_t *buffer, uint32_t len, OnConsumedCb on_consumed)
 
uint8_t * get ()
 
- Public Member Functions inherited from cuttlefish::ShmBuffer
 ShmBuffer (const virtio_snd_pcm_xfer &header, volatile uint8_t *buffer, uint32_t len, OnConsumedCb on_consumed)
 
 ShmBuffer (const ShmBuffer &other)=delete
 
 ShmBuffer (ShmBuffer &&other)
 
ShmBufferoperator= (const ShmBuffer &other)=delete
 
 ~ShmBuffer ()
 
uint32_t stream_id () const
 
uint32_t len () const
 
void SendStatus (AudioStatus status, uint32_t latency_bytes, uint32_t consumed_len)
 
const uint8_t * get () const
 

Additional Inherited Members

- Protected Attributes inherited from cuttlefish::ShmBuffer
uint8_t * buffer_
 

Constructor & Destructor Documentation

◆ RxBuffer()

cuttlefish::RxBuffer::RxBuffer ( const virtio_snd_pcm_xfer header,
volatile uint8_t *  buffer,
uint32_t  len,
OnConsumedCb  on_consumed 
)
inline

Member Function Documentation

◆ get()

uint8_t * cuttlefish::RxBuffer::get ( )
inline

The documentation for this class was generated from the following file: