Skip to content

Commit 8dcd686

Browse files
committed
fix #30
1 parent caa1056 commit 8dcd686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

just_playback/playback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def load_file(self, path_to_file: str) -> None:
5252
self.__bind(lib.terminate_audio_stream(self.__ma_attrs))
5353

5454
if platform.system() == 'Windows':
55-
self.__bind(lib.load_file_w(self.__ma_attrs, path_to_file.encode('utf-16le')))
55+
self.__bind(lib.load_file_w(self.__ma_attrs, path_to_file))
5656
else:
5757
self.__bind(lib.load_file(self.__ma_attrs, path_to_file.encode('utf-8')))
5858

0 commit comments

Comments
 (0)