Skip to content

Commit

Permalink
FEAT(client, ui): Fixed compile & final code review changes for JACK …
Browse files Browse the repository at this point in the history
…transport recording
  • Loading branch information
IsaMorphic committed Nov 24, 2023
1 parent d668909 commit cc07ef4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mumble/AudioOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ void AudioOutput::prepareOutputBuffers(unsigned int frameCount, QList< AudioOutp
QList< AudioOutputBuffer * > *qlDel) {
// Get the users that are currently talking (and are thus serving as an audio source)
QMultiHash< const ClientUser *, AudioOutputBuffer * >::const_iterator it = qmOutputs.constBegin();
while (it != qmOutputs.constEnd()) {
for (int i = 0; i < qmOutputs.count(); i++) {
AudioOutputBuffer *buffer = it.value();
if (!buffer->prepareSampleBuffer(frameCount)) {
qlDel->append(buffer);
Expand Down Expand Up @@ -788,3 +788,7 @@ unsigned int AudioOutput::getMixerFreq() const {
void AudioOutput::setBufferSize(unsigned int bufferSize) {
iBufferSize = bufferSize;
}

bool AudioOutput::supportsTransportRecording() const {
return false;
}
2 changes: 2 additions & 0 deletions src/mumble/AudioOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ private slots:
void removeToken(AudioOutputToken &);
void removeUser(const ClientUser *);

virtual bool supportsTransportRecording() const;

signals:
/// Signal emitted whenever an audio source has been fetched
///
Expand Down

0 comments on commit cc07ef4

Please sign in to comment.