fix variable name
This commit is contained in:
parent
681698b7e5
commit
4825365776
@ -83,7 +83,7 @@ def get_audio_channel_count(dll, handle):
|
|||||||
|
|
||||||
def get_sample_rate(dll, handle):
|
def get_sample_rate(dll, handle):
|
||||||
sample_rate = ctypes.c_uint()
|
sample_rate = ctypes.c_uint()
|
||||||
res = dll.AAXGetSampleRate(handle, n_channels)
|
res = dll.AAXGetSampleRate(handle, sample_rate)
|
||||||
|
|
||||||
if res != 0:
|
if res != 0:
|
||||||
raise Exception('AAXGetSampleRate: {}'.format(res))
|
raise Exception('AAXGetSampleRate: {}'.format(res))
|
||||||
|
Loading…
Reference in New Issue
Block a user