On Fri, 2014-12-19 at 12:23 -0800, Kip Warner wrote: > Hey list, > > The bugtracker for ALSA appears to be down at the time of writing, so > I'll make note of this issue here. > > The file writer output plugin appears to have a bug in it. > > $ cat /dev/zero | aplay -D "file:'../foo.raw',raw" -c8 -fs16_le -r192000 > Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 192000 Hz, Channels 8 > ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor > ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor > ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor > ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor > aplay: pcm_file.c:397: snd_pcm_file_add_frames: Assertion `file->wbuf_used_bytes < file->wbuf_size_bytes' failed. > Aborted by signal Aborted... > > I'm assuming this is a problem with the relative path usage. > > For now, if used from autoconf, one might be able to get around this > with $top_srcdir as a workaround as I am. Sorry, not necessarily $top_srcdir, but normalizing the path before feeding it into the plugin, such as with realpath. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
Attachment:
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user