This commit is contained in:
Anne de Jong 2020-02-26 14:20:33 +01:00
parent 173bf10273
commit 92ca0aa795
3 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ cdef extern from "RtAudio.h" nogil:
RtAudioStreamFlags RTAUDIO_NONINTERLEAVED
RtAudioStreamFlags RTAUDIO_MINIMIZE_LATENCY
RtAudioStreamFlags RTAUDIO_HOG_DEVICE
RtAudioStreamFlags RTAUDIO_SCHEDULE_REALTIME
RtAudioStreamFlags RTAUDIO_ALSA_USE_DEFAULT
RtAudioStreamFlags RTAUDIO_JACK_DONT_CONNECT

View File

@ -168,7 +168,7 @@ class Measurement:
self._channel_names = f.attrs['channel_names']
except KeyError:
# No channel names found in measurement file
self._channel_names = ['{i}' for i in range(self.nchannels)]
self._channel_names = [f'Unnamed {i}' for i in range(self.nchannels)]
# comment = read-write thing
try:

View File

@ -172,7 +172,7 @@ class Recording:
self._ad.resize(self._ablockno()+1, axis=0)
if self.monitor_gen:
self._ad[self._ablockno(), :, 0] = outdata
self._ad[self._ablockno(), :, 0] = outdata[:, 0]
self._ad[self._ablockno(), :, 1:] = indata
else:
self._ad[self._ablockno(), :, :] = indata