Qt 4.8
Public Functions | Public Variables | List of all members
QAuBucketNAS Class Reference
Inheritance diagram for QAuBucketNAS:
QAuBucket

Public Functions

 QAuBucketNAS (AuBucketID b, AuFlowID f=0)
 
 ~QAuBucketNAS ()
 
- Public Functions inherited from QAuBucket
virtual ~QAuBucket ()
 

Public Variables

AuFlowID flow
 
AuBucketID id
 
int numplaying
 
bool stopped
 

Detailed Description

Definition at line 71 of file qsound_x11.cpp.

Constructors and Destructors

◆ QAuBucketNAS()

QAuBucketNAS::QAuBucketNAS ( AuBucketID  b,
AuFlowID  f = 0 
)
inline

Definition at line 73 of file qsound_x11.cpp.

73 : id(b), flow(f), stopped(true), numplaying(0) { }
AuBucketID id
Definition: qsound_x11.cpp:86
AuFlowID flow
Definition: qsound_x11.cpp:87

◆ ~QAuBucketNAS()

QAuBucketNAS::~QAuBucketNAS ( )
inline

Definition at line 74 of file qsound_x11.cpp.

75  {
76  if (nas) {
77  AuSync(nas, false);
78  AuDestroyBucket(nas, id, NULL);
79 
80  AuEvent ev;
81  while (AuScanEvents(nas, AuEventsQueuedAfterFlush, true, eventPred, &flow, &ev))
82  ;
83  }
84  }
static AuBool eventPred(AuServer *, AuEvent *e, AuPointer p)
Definition: qsound_x11.cpp:62
static AuServer * nas
Definition: qsound_x11.cpp:60
AuFlowID flow
Definition: qsound_x11.cpp:87

Properties

◆ flow

AuFlowID QAuBucketNAS::flow

Definition at line 87 of file qsound_x11.cpp.

Referenced by QAuServerNAS::play(), and ~QAuBucketNAS().

◆ id

AuBucketID QAuBucketNAS::id

Definition at line 86 of file qsound_x11.cpp.

Referenced by QAuServerNAS::play().

◆ numplaying

int QAuBucketNAS::numplaying

Definition at line 89 of file qsound_x11.cpp.

Referenced by QAuServerNAS::play().

◆ stopped

bool QAuBucketNAS::stopped

Definition at line 88 of file qsound_x11.cpp.

Referenced by QAuServerNAS::play(), QAuServerNAS::setDone(), and QAuServerNAS::stop().


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