Skip to content

Commit

Permalink
bugfix: PortAudioPlayerDeviceDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Sep 17, 2024
1 parent 54b7921 commit e84e636
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ bool PortAudioPlayerDeviceDriver::interruptDeviceAndClose()

bool PortAudioPlayerDeviceDriver::configureDeviceAndStart()
{
AudioBufferSize playback_buffer_size(m_audioplayer_cfg.numSamples, m_audioplayer_cfg.numChannels, m_audioplayer_cfg.bytesPerSample);
yarp::sig::AudioBufferSize playback_buffer_size(m_audioplayer_cfg.numSamples, m_audioplayer_cfg.numChannels, m_audioplayer_cfg.bytesPerSample);
if (m_outputBuffer == nullptr) {
m_outputBuffer = new CircularAudioBuffer_16t("portatudio_play", playback_buffer_size);
}
Expand Down

0 comments on commit e84e636

Please sign in to comment.