Re: [PATCH 3/6] pcm:file: Enable file writing for capture path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 Feb 2017 08:17:17 +0100,
sutar.mounesh@xxxxxxxxx wrote:
> 
> From: Timo Wischer <twischer@xxxxxxxxxxxxxx>
> 
> This commit reverts parts of commit 4081be0b87ab9fa53a8906e66bc240f18a7a9a54,
> because it is realy useful to use the file plugin in a capture path for
> debugging. Also it fixes the truncate issue mentioned in above commit.
> 
> Additionally following MMAP access issue is considered:
> $ arecord -D teeraw -M -d5 arecord.wav
> Recording WAVE 'arecord.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
> ALSA lib pcm/pcm_file.c:358:(snd_pcm_file_write_bytes)
> write failed: Bad file descriptor
> ALSA lib pcm/pcm_file.c:358:(snd_pcm_file_write_bytes)
> write failed: Bad file descriptor
> arecord: pcm/pcm_file.c:397: snd_pcm_file_add_frames:
> Assertion `file->wbuf_used_bytes < file->wbuf_size_bytes' failed.
> Aborted by signal Aborted...
> 
> Signed-off-by: Timo Wischer <twischer@xxxxxxxxxxxxxx>
> Signed-off-by: Mounesh Sutar <sutar.mounesh@xxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux