History

[py] [cut] use source.samplerate

Paul Brossier committed 8 years ago

Commit adf09b21 parent e126e651 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/aubio/cut.py+1−1
@@ -101,7 +101,7 @@ def _cut_analyze(options): · 100 unmodified lines
101101
102102 s = source(source_uri, samplerate, hopsize)
103103 if samplerate == 0:
104− samplerate = s.get_samplerate()
104+ samplerate = s.samplerate
105105 options.samplerate = samplerate
106106
107107 if options.beat:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t