Page 1 of 1

Simple audiobook player

Posted: 15 Jan 2022 18:07
by Jorgen
I want to make a simple audiobook player using Raspberry Pi and an audio DAC. The user interface shall be a GUI made by myself using GTK3 and the C programming language. This to have it as simple as possible like two buttons, one for PLAY and one for STOP. The audiobook is downloaded from the internet and stored on a usb using another computer. The usb stick is then passed on to the raspberry pi.

I have searched the internet for information and read about mpd and mpc, but the latest version of Raspberry OS has VLC included.

Please, let me know whether VLC is the right choice of software for this?

Does VLC have an API for C-programming?

Any information/advice or links are appreciated.

Regards,
Jorgen

Re: Simple audiobook player

Posted: 17 Jan 2022 07:34
by mfkl
Hi,

Yes LibVLC could be used for this. Here is a C example code using GTK https://code.videolan.org/videolan/vlc/ ... k_player.c