Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-13 Thread Martin Steghöfer
Hi Ron! Ron wrote: No, that's fine. Most of that was just me thinking out loud as I traced through the relevant code. That we agree on that just means we came to the same conclusion. I didn't mean to suggest you thought otherwise, I was just fleshing out the reasons I thought that was the

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-13 Thread Ron
On Sat, Dec 13, 2014 at 12:23:22PM +0100, Martin Steghöfer wrote: Ron wrote: We can't know that was because the hardware didn't support the requested number of channels (if alsa doesn't explicitly say that) it could be for any number of reasons. It could fail for a number of other reasons,

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-13 Thread Martin Steghöfer
Hi Ron! I agree that implementing some magic to find out the real reason isn't a very good idea. I think the main point where we still disagree is how magic (according to you) or specified (according to me) the meaning of EINVAL really is in this situation. Ron write: The problem is, that

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-13 Thread Ron
On Sat, Dec 13, 2014 at 09:12:38PM +0100, Martin Steghöfer wrote: Ron write: The problem is, that even if this is the case with the current alsa code, we have no guarantee it would always remain true. And it may in turn pass back error codes from the kernel, which could include this one too.

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-12 Thread Martin Steghöfer
severity 578720 minor thanks Martin Steghöfer wrote: The error message here is a bit cryptic. What it tries to say is: Your output device doesn't support Mono playback and no software in the output pipeline [...] is willing to do the necessary upmixing [...] Doing the upmixing in ogg123 is

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-12 Thread Ron
Hi Martin, On Fri, Dec 12, 2014 at 07:14:28PM +0100, Martin Steghöfer wrote: severity 578720 minor thanks Martin Steghöfer wrote: The error message here is a bit cryptic. What it tries to say is: Your output device doesn't support Mono playback and no software in the output pipeline

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-12 Thread Martin Steghöfer
Hi Ron! Thank you for your quick and comprehensive answer! :-) Unfortunately, I think I should have pasted more information into my previous mail. Most of your answer tries to argue away a point that I actually already ruled out in a message I posted earlier to this bug report: It looks like

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-12-12 Thread Ron
On Sat, Dec 13, 2014 at 01:17:58AM +0100, Martin Steghöfer wrote: Hi Ron! Thank you for your quick and comprehensive answer! :-) Unfortunately, I think I should have pasted more information into my previous mail. I did actually go read the whole bug report (since there indeed wasn't quite

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2014-10-29 Thread Martin Steghöfer
tags 578720 wontfix thanks Hi John! On Thu, 22 Apr 2010 07:44:50 +0100 John Talbut j...@dpets.co.uk wrote: Playing: /data/Sounds/Barbara_Allen.ogg Ogg Vorbis stream: 1 channel, 44100 Hz ALSA snd_pcm_hw_params_set_channels error: Invalid argument Error: Cannot open device alsa. The error

Bug#578720: vorbis-tools: Sends invalid argument to ALSA when playing some files

2010-04-22 Thread John Talbut
Package: vorbis-tools Version: 1.2.0-6 Severity: normal Certain files will not play with ogg123, e.g.: ~$ ogg123 /data/Sounds/Barbara_Allen.ogg Audio Device: Advanced Linux Sound Architecture (ALSA) output Playing: /data/Sounds/Barbara_Allen.ogg Ogg Vorbis stream: 1 channel, 44100 Hz ALSA