Home » Developing U++ » U++ Developers corner » Sound in linux (Lack of standards in Linux is a problem but there are some near-standards)
Re: Sound in linux [message #44109 is a reply to message #44106] |
Thu, 25 December 2014 14:23 |
|
Klugier
Messages: 1083 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello rainbowsally,
Quote:
All: We don't want to hard-code something like ogg123 as the handler or even as a possible handler for the sound files if we plan to ever handle any other extension than .oga or .ogg because ogg123 only handles ogg.
We don't even want it to be an option because if we play something with some other extension it won't work at best and it might hang (zombie) or cause a horrible clicking white-noise racket by playing the wrong format.
This "racket" does happen with other players trying to play mp3s, not sure about ogg123.
ogg123 can detect that it cannot play .wav file. It not hangs and not produce noise (Checked by playing wav file). So, we can change the importance of players (* gst123 can handle all interesting formats):
const char *players[] = { "play", "gst123", "ogg123" };
Moreover, I would like to notice that having more trusted players in list we have more likely that someone has got this program.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Thu, 25 December 2014 14:26] Report message to a moderator
|
|
|
|
|
Sound in linux
|
|
|
Re: Sound in linux
By: mirek on Wed, 17 December 2014 11:30
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
By: mirek on Wed, 17 December 2014 19:56
|
|
|
Re: Sound in linux (& generic launchers)
|
|
|
Re: Sound in linux (& generic launchers)
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
By: Klugier on Tue, 23 December 2014 14:49
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
By: mirek on Wed, 24 December 2014 12:27
|
|
|
Re: Sound in linux
By: Klugier on Wed, 24 December 2014 13:18
|
|
|
Re: Sound in linux
By: mirek on Wed, 24 December 2014 15:46
|
|
|
Re: Sound in linux
By: Klugier on Wed, 24 December 2014 16:30
|
|
|
Re: Sound in linux
By: mirek on Thu, 25 December 2014 10:48
|
|
|
Re: Sound in linux
By: Klugier on Thu, 25 December 2014 13:56
|
|
|
Re: Sound in linux
By: mirek on Thu, 25 December 2014 21:01
|
|
|
Re: Sound in linux
|
|
|
Re: Sound in linux
By: Klugier on Thu, 25 December 2014 14:23
|
Goto Forum:
Current Time: Fri Nov 01 01:02:51 CET 2024
Total time taken to generate the page: 0.02872 seconds
|