Giter Club home page Giter Club logo

Comments (4)

mywave82 avatar mywave82 commented on August 29, 2024 1

I have located the problem. ov_open_callbacks() has changed slightly behaviour in libvorbisfile. I will add update to OCP to compensate

from opencubicplayer.

mywave82 avatar mywave82 commented on August 29, 2024

Hi

Can you please share one of the files with me privatly per email on [email protected] ?

from opencubicplayer.

WildPenquin avatar WildPenquin commented on August 29, 2024

Hi,

For example this file causes a division by zero here: https://commons.wikimedia.org/wiki/File:Example.ogg

Indeed, I can not play any ogg vorbis file currently with ocp. I probably just though I was playing an ogg vorbis file, when I wasn't; I have some mp3 and flac mixed inside my collection, and those play without any problems (*).

*) well, actually mp3 files cause some error messages along the lines:
wanted to read 39695 bytes, and got 39695 bytes
which is a bit annoying especially if running in text mode (it causes other elements of the display/player to be displaced as these messages are printed over the spectrum analyzer etc.). But that is a separate issue. The actual playback of mp3 sound fine despite the (error?) messages.

from opencubicplayer.

WildPenquin avatar WildPenquin commented on August 29, 2024

While running:
ocp Example.ogg >log.log 2>&1
i.e. the file from my previous comment, I get this in the log.log:

Setting to cfConfigDir to /home/ville/.ocp/
Setting to cfDataDir to /usr/share/ocp-0.2.90/data/
Setting to cfProgramDir to /usr/lib/ocp-0.2.90/
Open Cubic Player for Unix v0.2.90, compiled on Jun 27 2021, 21:12:07
Ported to Unix by Stian Skjelstad
linking default objects...
running initializers...
initializing fileselector...
adbMetaInit: open(cfConfigDir/CPARCMETA.DAT): No such file or directory
Loading /home/ville/.ocp/CPMODNFO.DAT .. Done
open(cfConfigDir/CPDIRDB.DAT): No such file or directory
Initing console...
stdout and stdin does not come from the same device, trying X11
[x11] X is online
[x11] rootwindow: width:3440 height:1440
[x11] xvidmode disabled in ocp.ini
Locating cdroms [.....]
wavetabledevices:
 devwMixF: FPU Mixer....................... (#1 t0)
 devwmixQ: Mixer........................... (#2 t1)
 devwMix : Mixer........................... (#3 t0)
 devwNone: None............................ (#4)
FPU Mixer selected...
[devwmixf] INIT, using dwmixfa.c C version

playerdevices:
 devpALSA: ALSA device driver.............. (#1)
 devpOSS : OSS player...................... not found: optimize ocp.ini!
 devpCA  : /usr/lib/ocp-0.2.90/devpcoreaudio.so: cannot open shared object file: No such file or directory
link error
 devpSDL2: SDL2 Player..................... (#3 p0 q0)
 devpSDL : /usr/lib/ocp-0.2.90/devpsdl.so: cannot open shared object file: No such file or directory
link error
 devpNone: Super High Quality Quiet Player. (#4)
 devpDisk: Disk Writer..................... (#5)
ALSA device driver selected...

samplerdevices:
 devsOSS : OSS Recorder.................... not found: optimize ocp.ini!
 devsNone: Eternal Silence Recorder........ (#2)
Eternal Silence Recorder selected...

   unix_dir_readdir_file "/home/ville/Roskia/Example.ogg"
   unix_file_steal => 0x5625e80c1490
loading Example .ogg...
^[[H^[[2J^[[3JDivision by zero / Floating Point Error

from opencubicplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.