Skip to content

Commit

Permalink
fix #30
Browse files Browse the repository at this point in the history
  • Loading branch information
cheofusi committed Mar 13, 2024
1 parent caa1056 commit 8dcd686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion just_playback/playback.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def load_file(self, path_to_file: str) -> None:
self.__bind(lib.terminate_audio_stream(self.__ma_attrs))

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

Expand Down

0 comments on commit 8dcd686

Please sign in to comment.