Skip to content

macOS: Unable to specify audio device with non-ascii characters #417

Closed
@martinhpedersen

Description

@martinhpedersen

When running macOS with Norwegian locale, the Core Audio audio device is named using the unicode character ø: MacBook Pro-høyttalere (translates to Macbook Pro-speakers).

When attempting to specify this as the output device, ø appears to be stripped from the string. This makes direwolf unusable with the built-in soundcard on macOS with Norwegian locale. I imagine this is a problem with other locales as well, as many use non-ascii characters.

My direwolf.conf (encoded using UTF-8):

ADEVICE  "MacBook Pro-mikrofon"  "MacBook Pro-høyttalere"

Direwolf output:

Dire Wolf DEVELOPMENT version 1.7 E (Aug 28 2022)
Includes optional support for:  hamlib dns-sd
Warning: Could not open 'symbols-new.txt'.
The "new" OVERLAID character information will not be available.

Reading config file /Users/martinhpedersen/direwolf.conf
Audio input device for receive: MacBook Pro-mikrofon  (channel 0)
Audio out device for transmit: MacBook Pro-høyttalere  (channel 0)
Number of devices = 2
--------------------------------------- device #0
[ Default Input ]
Name        = "MacBook Pro-mikrofon"
Host API    = Core Audio
Max inputs  = 1
Max outputs = 0
--------------------------------------- device #1
[ Default Output ]
Name        = "MacBook Pro-høyttalere"
Host API    = Core Audio
Max inputs  = 0
Max outputs = 2
Requested Output Audio Device not found MacBook Pro-hyttalere.
Pointless to continue without audio device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions