On Fri, Sep 03, 2021 at 11:54:04AM +0200, mindfsck wrote:
> > Apologies for leading you down a dead-end. I've taken a closer look
> > at the code and found what the problem is. The pacat-simple.c example is
> > expecting raw PCM sample data in the file. Since you're giving it a .WAV
> > file,
Thank you Sean, that did indeed the trick and my files play nicely now!
Do you expect to add this WAV header detection (and skipping) in a future
release or do you restrict it to PCM (and user code must skip)?
On Fri, Sep 3, 2021 at 8:05 AM Sean Greenslade
wrote:
> On Sun, Aug 29, 2021 at
On Sun, Aug 29, 2021 at 07:02:25PM +0200, mindfsck wrote:
> or use 'vlc' or use any Video/Audio playback you have on your machine.Sigh,
> I may just reach out for alternative APIs instead of trying to convince
> people that this might be a bug in the simple API you provide.
Apologies for leading
or use 'vlc' or use any Video/Audio playback you have on your machine.Sigh,
I may just reach out for alternative APIs instead of trying to convince
people that this might be a bug in the simple API you provide.
On Sun, Aug 29, 2021 at 6:53 PM mindfsck wrote:
> I repeat myself...use 'paplay' or
I repeat myself...use 'paplay' or 'aplay' and the result is fine.
On Sun, Aug 29, 2021 at 6:31 PM guest271314 wrote:
> How do we know what the expected result is?
>
> On Sun, Aug 29, 2021 at 5:01 AM mindfsck wrote:
>
>> you could try is making use of the buffering attributes in
>>>
How do we know what the expected result is?
On Sun, Aug 29, 2021 at 5:01 AM mindfsck wrote:
> you could try is making use of the buffering attributes in
>> pa_simple_new. Specifically, setting prebuf to a suitable value.
>>
>
> I tried setting prebuf to -1, 0, 1, 2, 4, 16, and 320. Made no
>
> you could try is making use of the buffering attributes in
> pa_simple_new. Specifically, setting prebuf to a suitable value.
>
I tried setting prebuf to -1, 0, 1, 2, 4, 16, and 320. Made no difference
to me.
Another thing to check is if there are a couple of silent samples at the
>
On Fri, Aug 27, 2021 at 04:57:07PM +0200, mindfsck wrote:
> I seem to be to silly for it:
> # sox in.wav -r 22050 out.wav resample
> sox FAIL formats: can't open input file `out.wav': No such file or directory
>
> Of course there is no out.wav since that's what I want to create!
I would not
I seem to be to silly for it:
# sox in.wav -r 22050 out.wav resample
sox FAIL formats: can't open input file `out.wav': No such file or directory
Of course there is no out.wav since that's what I want to create!
On Fri, Aug 27, 2021 at 4:28 PM guest271314 wrote:
> What happens when you
What happens when you resample to 22050?
On Fri, Aug 27, 2021 at 7:18 AM mindfsck wrote:
> Why is the sample rate set to 48000?
>>
>
> No idea! The sourcing of the file is outside of my hands..
>
> On Fri, Aug 27, 2021 at 4:14 PM guest271314 wrote:
>
>> Why is the sample rate set to 48000?
>>
>
> Why is the sample rate set to 48000?
>
No idea! The sourcing of the file is outside of my hands..
On Fri, Aug 27, 2021 at 4:14 PM guest271314 wrote:
> Why is the sample rate set to 48000?
>
> On Fri, Aug 27, 2021 at 6:40 AM mindfsck wrote:
>
>> Thanks Sean. I unloaded the suspend module
Why is the sample rate set to 48000?
On Fri, Aug 27, 2021 at 6:40 AM mindfsck wrote:
> Thanks Sean. I unloaded the suspend module but the plop is still there.
> I don't really think it is HW related since the file plays just fine with
> paplay and aplay.
>
> On Fri, Aug 27, 2021 at 5:49 AM Sean
Thanks Sean. I unloaded the suspend module but the plop is still there.
I don't really think it is HW related since the file plays just fine with
paplay and aplay.
On Fri, Aug 27, 2021 at 5:49 AM Sean Greenslade
wrote:
> On Thu, Aug 26, 2021 at 09:43:23PM +0200, mindfsck wrote:
> > Hi there,
>
On Thu, Aug 26, 2021 at 09:43:23PM +0200, mindfsck wrote:
> Hi there,
>
> I was using this example to simply play a WAV file without having much clue
> of audio:
> https://www.freedesktop.org/software/pulseaudio/doxygen/pacat-simple_8c-example.html
> I changed the sources to match (IMHO) my
14 matches
Mail list logo