octave-maintainers
[Top][All Lists]
Advanced

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

Re: Audiorecorder/Player segfault


From: Vytautas Jancauskas
Subject: Re: Audiorecorder/Player segfault
Date: Sat, 27 Jul 2013 23:22:28 +0300

> Works for me. Here's another bug with pause and both player and recorder:
>
> octave:46> play (player);
> octave:47> pause (player);
> octave:48> play (player);
> error: audioplayer: Error stoping audio playback stream
> error: called from:
> error:   /home/mike/src/octave/octave-sound/@audioplayer/play.m at
> line 14, column 3
> [...]
> octave:61> record (recorder);
> octave:62> pause (recorder);
> octave:63> record (recorder);
> error: audiorecorder: Error stoping audio recording stream
> error: called from:
> error:   /home/mike/src/octave/octave-sound/@audiorecorder/record.m at
> line 12, column 3
>
> Should play/record from the paused state be treated like a resume?

Fixed. MATLAB treats it as starting fresh. Which makes sense.

>
> I also notice that calling record/stop/record appends to the buffer.
> Do you know if Matlab appends or overwrites the buffer in this case?

It overwrites. I made mine do the same.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]