Definition at line 280 of file qsoundqss_qws.cpp.
◆ QWSSoundServerProvider()
| QWSSoundServerProvider::QWSSoundServerProvider |
( |
int |
w, |
|
|
int |
s |
|
) |
| |
|
inline |
Definition at line 282 of file qsoundqss_qws.cpp.
static const int maxVolume
uchar data1[sound_buffer_size+4]
◆ ~QWSSoundServerProvider()
| virtual QWSSoundServerProvider::~QWSSoundServerProvider |
( |
| ) |
|
|
inlinevirtual |
◆ add()
| int QWSSoundServerProvider::add |
( |
int * |
mixl, |
|
|
int * |
mixr, |
|
|
int |
count |
|
) |
| |
|
inline |
Definition at line 350 of file qsoundqss_qws.cpp.
Referenced by QWSSoundServerPrivate::feedDevice().
352 int bytesPerSample =
chunkdata.wBitsPerSample >> 3;
356 while (count && (
dev != -1)) {
369 qDebug(
"QSS Read Error: both buffers empty");
384 if ( !mixl || !mixr )
396 while (count && (
dev != -1)) {
409 qDebug(
"QSS Read Error: both buffers empty");
415 int l =
getSample(0,bytesPerSample)*lVolNum/lVolDen;
Q_DECL_CONSTEXPR const T & qMin(const T &a, const T &b)
static int priorityExists
uchar data2[sound_buffer_size+4]
Q_CORE_EXPORT void qDebug(const char *,...)
int getSample(int off, int bps)
struct QWSSoundServerProvider::@162 chunkdata
static const int maxVolume
uchar data1[sound_buffer_size+4]
◆ devSamples()
| int QWSSoundServerProvider::devSamples |
( |
| ) |
|
|
inlineprotected |
◆ equal()
| bool QWSSoundServerProvider::equal |
( |
int |
wid, |
|
|
int |
sid |
|
) |
| |
|
inline |
◆ finished()
| virtual bool QWSSoundServerProvider::finished |
( |
| ) |
const |
|
pure virtual |
◆ getSample()
| int QWSSoundServerProvider::getSample |
( |
int |
off, |
|
|
int |
bps |
|
) |
| |
|
inline |
◆ groupId()
| int QWSSoundServerProvider::groupId |
( |
| ) |
const |
|
inline |
◆ muted()
| bool QWSSoundServerProvider::muted |
( |
| ) |
|
|
inline |
◆ prepareBuffer()
| char* QWSSoundServerProvider::prepareBuffer |
( |
int & |
size | ) |
|
|
inlineprotected |
Definition at line 454 of file qsoundqss_qws.cpp.
459 return (
char *)
data2;
462 return (
char *)
data1;
uchar data2[sound_buffer_size+4]
uchar data1[sound_buffer_size+4]
static const int sound_buffer_size
◆ readySamples()
| virtual int QWSSoundServerProvider::readySamples |
( |
int |
| ) |
|
|
pure virtual |
◆ setMute()
| void QWSSoundServerProvider::setMute |
( |
bool |
m | ) |
|
|
inline |
◆ setPlayPriorityOnly()
| static void QWSSoundServerProvider::setPlayPriorityOnly |
( |
bool |
p | ) |
|
|
inlinestatic |
◆ setPriority()
| void QWSSoundServerProvider::setPriority |
( |
bool |
p | ) |
|
|
inline |
◆ setVolume()
| void QWSSoundServerProvider::setVolume |
( |
int |
lv, |
|
|
int |
rv |
|
) |
| |
|
inline |
◆ soundId()
| int QWSSoundServerProvider::soundId |
( |
| ) |
const |
|
inline |
◆ startSampleRunin()
| void QWSSoundServerProvider::startSampleRunin |
( |
| ) |
|
|
inline |
◆ updateBuffer()
| void QWSSoundServerProvider::updateBuffer |
( |
int |
read | ) |
|
|
inlineprotected |
◆ avgBytesPerSec
| qint32 QWSSoundServerProvider::avgBytesPerSec |
◆ blockAlign
| qint16 QWSSoundServerProvider::blockAlign |
◆ channels
| qint16 QWSSoundServerProvider::channels |
◆ chunkdata
| struct { ... } QWSSoundServerProvider::chunkdata |
◆ data
| uchar* QWSSoundServerProvider::data |
|
private |
◆ data1
◆ data2
◆ dev
| int QWSSoundServerProvider::dev |
|
protected |
◆ formatTag
| qint16 QWSSoundServerProvider::formatTag |
◆ isPriority
| bool QWSSoundServerProvider::isPriority |
|
private |
◆ leftVolume
| int QWSSoundServerProvider::leftVolume |
|
private |
◆ max
| int* QWSSoundServerProvider::max |
|
private |
◆ max1
| int QWSSoundServerProvider::max1 |
|
private |
◆ max2
| int QWSSoundServerProvider::max2 |
|
private |
◆ mMuted
| bool QWSSoundServerProvider::mMuted |
|
private |
◆ mSid
| int QWSSoundServerProvider::mSid |
|
private |
◆ mWid
| int QWSSoundServerProvider::mWid |
|
private |
◆ out
| int QWSSoundServerProvider::out |
|
private |
◆ priorityExists
| int QWSSoundServerProvider::priorityExists = 0 |
|
staticprivate |
◆ rightVolume
| int QWSSoundServerProvider::rightVolume |
|
private |
◆ sampleRunin
| int QWSSoundServerProvider::sampleRunin |
|
private |
◆ samples_due
| int QWSSoundServerProvider::samples_due |
|
protected |
◆ samplesPerSec
| qint32 QWSSoundServerProvider::samplesPerSec |
◆ wBitsPerSample
| qint16 QWSSoundServerProvider::wBitsPerSample |
The documentation for this class was generated from the following file: