[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter chan
From: |
Riccardo Mottola |
Subject: |
Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song |
Date: |
Mon, 21 May 2012 23:38:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux ppc; rv:10.0.4) Gecko/20120427 Firefox/10.0.4 Iceape/2.7.4 |
Hi Philippe,
Philippe Roussel wrote:
Hi,
The appended patch allows me to play songs with different bitrates
correctly with the ALSA backend. I haven't tested endianness
modification but I'm confident it will work.
Please test this as much as you can.
Your patch looks correct to me, but it doesn't work.
I tried two scenarios
1) clean start. open WAV file. I get this error. The file is 22Khz stereo
ALSA lib pcm.c:7482:(snd_pcm_set_params) Unable to get period size for
PLAYBACK: Invalid argument
2012-05-21 23:25:48.298 Cynthiune[5549] Failed to set device
parameters:Invalid
argument
2) clean start. open WAV file, 44Khz stereo, plays fine. Play MP3. Plays
fine
3) the opposite of 2) works
Thus your patch seems to solve the endianness problem and I will commit
it. But it is not perfect yet...
I attach a test file. Play it as first file after cynthiune opens.
Riccardo
chimes.wav
Description: Wave audio
- [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Philippe Roussel, 2012/05/20
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song,
Riccardo Mottola <=
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Philippe Roussel, 2012/05/21
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Riccardo Mottola, 2012/05/22
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Philippe Roussel, 2012/05/22
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Philippe Roussel, 2012/05/22
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Riccardo Mottola, 2012/05/25
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Philippe Roussel, 2012/05/25
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Philippe Roussel, 2012/05/22
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Riccardo Mottola, 2012/05/23
- Re: [Gap-dev-discuss] Cynthiune : make ALSA output handle parameter changes between song, Philippe Roussel, 2012/05/24