Forgot to say: this fixes my issue, I can now open and play ogg files.
On Fri, Apr 4, 2014 at 8:49 PM, Rafael Vega wrote:
> Even more stuff ;)
>
> In the same file, oggread~.c there is a line that reads:
>
> if((x->x_file = sys_fopen(filename->s_name, "r")) < 0)
>
> But it should be:
>
>
Even more stuff ;)
In the same file, oggread~.c there is a line that reads:
if((x->x_file = sys_fopen(filename->s_name, "r")) < 0)
But it should be:
if((x->x_file = sys_fopen(filename->s_name, "rb")) <= 0)
Now, to figure out how to submit a patch to pd-extended :P
On Fri, Apr 4, 2
Follow up:
Looking at the code for oggread~, I found that it does the actual opening
of the file with
if(ov_open(x->x_file, &x->x_ov, NULL, -1) < 0)
on the ov_open documentation it warns windows programmers not to use
ov_open but ov_open_callbacks instead [1] and [2] so I changed that line t
Hi.
I am trying to use [oggread~] external on an application i'm developing
with libpd. No problems on mac or linux. Howerver, on windows (xp and 8,
32bit) I keep getting an error message from oggread~ when I try to open an
ogg file. Even ogg_read~-help.pd won't work:
oggread~: file "C:/Users/rv/