Skip to content

Commit

Permalink
Do not ask for audio card when the config file doesn't exist but -d w…
Browse files Browse the repository at this point in the history
…as passed

Fixes book-readers#5
  • Loading branch information
sthibaul committed Mar 28, 2024
1 parent b29f488 commit ab84e73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ebook-speaker.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,8 @@ void get_bookmark (misc_t *misc, my_attribute_t *my_attribute,
free (str);
if (! (local_reader = xmlReaderWalker (local_doc)))
{
select_next_output_device (misc, daisy, sound_devices);
if (misc->current_sink < 0)
select_next_output_device (misc, daisy, sound_devices);
return;
} // if
do
Expand Down

0 comments on commit ab84e73

Please sign in to comment.