Bugfixes
This commit is contained in:
parent
173bf10273
commit
92ca0aa795
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user