Search found 125 matches

by Cedron
Wednesday 07th October 2020 1:22am
Forum: General
Topic: How to do audio output selection for MediaPlayer control?
Replies: 8
Views: 605

Re: How to do audio output selection for MediaPlayer control?

Several years ago I wrote the predecessor to this program in pure C++ using the ALSA library. I was kind of worried I was going to have to port that code to my own C shared library and replace the MediaPlayer. Thanks to your help, I don't have to do that. The /proc/asound/pcm file, loaded with a sin...
by Cedron
Tuesday 06th October 2020 4:46pm
Forum: General
Topic: How to do audio output selection for MediaPlayer control?
Replies: 8
Views: 605

Re: How to do audio output selection for MediaPlayer control?

It is working now, on both the laptop and Pi4. Not sure what I did wrong while flailing. Thank you very much. That is a helpful link. The default created by ".play" is obviously "autoalsosink" which allows the system preferences to switch output during playback on my laptop, but not the Pi4. When a ...
by Cedron
Tuesday 06th October 2020 1:58pm
Forum: General
Topic: How to do audio output selection for MediaPlayer control?
Replies: 8
Views: 605

Re: How to do audio output selection for MediaPlayer control?

Yes. I've tried all sorts of combinations, with two parameters, commas or periods, with or without the "hw". All give me a "Can't set Status" error when the .play is hit. From looking at /etc/share/alsa/alsa.conf, I've also tried using "subdevice" on another line and get "Unknown property". On my mi...
by Cedron
Tuesday 06th October 2020 12:54am
Forum: General
Topic: How to do audio output selection for MediaPlayer control?
Replies: 8
Views: 605

Re: How to do audio output selection for MediaPlayer control?

Thanks vuott. I got your example to work, but I can't get it to direct to either output by switching the value from "hw:0" or "hw:1" hw:0 plays through the laptops internal speaker, not the HDMI. This code snippet: myPlayer.Play() myInput = myPlayer.Input myOutput = myPlayer.Audio.Output Print myInp...
by Cedron
Monday 05th October 2020 2:38pm
Forum: General
Topic: How to do audio output selection for MediaPlayer control?
Replies: 8
Views: 605

How to do audio output selection for MediaPlayer control?

I'm working on improving my music player some. Issue #1: There seems to be a little bit of strange behavior while working on a Raspberry Pi 4. Every third or fourth play or so the playback halts. The event handler reports an event type 1. I was able to code a work around (will be included when I pos...
by Cedron
Wednesday 30th September 2020 12:26am
Forum: General
Topic: Cr '\r' with no Lf' '\n' ?
Replies: 5
Views: 494

Re: Cr '\r' with no Lf' '\n' ?

I learned to program with punch cards. The "cr" solo was important on line printers to be able to do stuff like underlines. The I move up to a teletype remotely hooked up to a IBM 360. There the "lf" + "cr" was literally needed. The "cr" made the carraige return (a massive thing caught by an air sco...
by Cedron
Wednesday 08th July 2020 8:44pm
Forum: Project showcase
Topic: M3U Player : Newest version
Replies: 4
Views: 1030

Re: M3U Player : Newest version

Maybe you should try harder? ;-) Funny thing, the same problem doesn't occur with the word indexing program I posted and it uses the same original class file. There's probably a rational reason, but I am not motivated to find it. I'm going with my revised version from now on. Getting back to the M3U...
by Cedron
Sunday 05th July 2020 2:23pm
Forum: Project showcase
Topic: M3U Player : Newest version
Replies: 4
Views: 1030

Re: M3U Player : Newest version

Damn teenagers...always being rough and breaking things. I've posted a revised version in the Resizer thread with a fix. I'm not going to upgrade the M3U in this post unless I add other features. Since I have a soft link in my source directory structure, the updated version is automatically included...
by Cedron
Sunday 05th July 2020 2:21pm
Forum: Project showcase
Topic: Resizer : The best resizing solution!
Replies: 7
Views: 1779

Re: Resizer : The best resizing solution!

Thanks cage,

I'm finding it really useful as well. I like the WYSIWYG quality of the design process. However, Cogier found a slight problem in the code. The upgraded version is attached in my original post at the beginning of this thread.

Ced
by Cedron
Thursday 02nd July 2020 1:14pm
Forum: Project showcase
Topic: M3U Player : Newest version
Replies: 4
Views: 1030

M3U Player : Newest version

M3uPlayer-0.0.21.tar.gz
(19.87 KiB) Downloaded 108 times
This is a program that I've actually been using, a lot. It has the resizability and tooltip toggling built in, the rest should be rather self-expanatory, or read the tooltips.

Enjoy.