diff options
| author | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:50:50 +0200 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:50:50 +0200 |
| commit | ca0d4409186d0317c0c6377a0de6f7d72232bba4 (patch) | |
| tree | 59427c62360c6f8cd0f1f5c84db45dcc7b5a7a5e /RtAudio.cpp | |
| parent | 36a9647a9f57cb70a7748f702b174cd619c3ecbd (diff) | |
| parent | b00c41f84cfb7fc3e94ea52aeb8d9b05376399fb (diff) | |
Merge 4.0.2 into releases
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index 376319c..dd76b59 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -539,7 +539,7 @@ RtAudio::DeviceInfo RtApiCore :: getDeviceInfo( unsigned int device ) error( RtError::WARNING ); return info; } - info.name.append( (const char *)name, strlen(name) + 1 ); + info.name.append( (const char *)name, strlen(name) ); info.name.append( ": " ); dataSize = 256; @@ -552,7 +552,7 @@ RtAudio::DeviceInfo RtApiCore :: getDeviceInfo( unsigned int device ) error( RtError::WARNING ); return info; } - info.name.append( (const char *)name, strlen(name) + 1 ); + info.name.append( (const char *)name, strlen(name) ); // Get the output stream "configuration". AudioBufferList *bufferList = nil; |
