Play sounds with nsa320s?

Marvell Kirkwood based
barmalej2
Posts: 2398
Joined: Sun Apr 29, 2012 5:24 pm

Re: Play sounds with nsa320s?

Post by barmalej2 » Sun Mar 20, 2016 6:31 pm

This looks like a problem with your installation of FFmpeg, and not cmus. Please make sure you've built and installed it correctly.
cmus developer can think whatever he wants, but that doesn't make his opinion right de facto. I don't see any useful info or arguments in this statement.
And I think that was a hard work (the compile).
Actually compilation of mpd was very easy. It configures rightly and compiles without any warning, unlike cmus, which had numerous alignment and others warnings.

barmalej2
Posts: 2398
Joined: Sun Apr 29, 2012 5:24 pm

Re: Play sounds with nsa320s?

Post by barmalej2 » Sun Mar 20, 2016 6:41 pm

MrDini wrote:Regarding mpd and missing accept4. I simply commented the if and I tried to make it. I Can't believe it, it worked! :D

I think You used an other thing to solve it, aren't you? I think this accept4 not accidental in the source and the package not stable bc I commented it. :roll:
It wasn't necessary for me. mpd ./configure script rightly determined, that I don't have accept4 and configured source code without it.

User avatar
MrDini
Posts: 652
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: Play sounds with nsa320s?

Post by MrDini » Sun Mar 20, 2016 6:47 pm

barmalej2 wrote:
MrDini wrote:Regarding mpd and missing accept4. I simply commented the if and I tried to make it. I Can't believe it, it worked! :D

I think You used an other thing to solve it, aren't you? I think this accept4 not accidental in the source and the package not stable bc I commented it. :roll:
It wasn't necessary for me. mpd ./configure script rightly determined, that I don't have accept4 and configured source code without it.
Oh. I didn't know this scenario. :)

Ps: I hid Your package from my "repo".
Thanks nas-central the lot of help! :)

User avatar
MrDini
Posts: 652
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: Play sounds with nsa320s?

Post by MrDini » Tue Mar 22, 2016 8:58 am

MrDini wrote:I make a try to compile cmus with roar. But it says the following:

Code: Select all

make[1]: Entering directory '/i-data/bf835951/build/roaraudio-1.0beta11/roarclients'
/ffp/bin/gcc -g -Wall -L../lib/  -o roarctl roarctl.o -lroar -lroardsp -lm -lm
../lib//libroar.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.
../lib//libroardsp.so: undefined reference to `sqrtl'
collect2: error: ld returned 1 exit status
Makefile:59: recipe for target 'roarctl' failed
make[1]: *** [roarctl] Error 1
make[1]: Leaving directory '/i-data/bf835951/build/roaraudio-1.0beta11/roarclients'
Makefile:23: recipe for target 'all' failed
make: *** [all] Error 2
I tried to add to roarcctl.c the #include <math.h> line, but it not solved the problem...

I also tried

Code: Select all

LIBS="-lm" ./configure --prefix=/ffp
...

Any idea? :roll:
Nobody?
Thanks nas-central the lot of help! :)

User avatar
MrDini
Posts: 652
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: Play sounds with nsa320s?

Post by MrDini » Sun Apr 17, 2016 10:30 am

Ok, I gave up the roaraudio and the cmus... :(

Regarding mpd... I didn't used the tool and my soundcard about two weeks, but today I decided to try my new Denon soundcard And my new subwoofer. So I had to modprobe the oss drivers and I had to mknod the dsp and the mixer. After it I tried to play some music. It started, but the song was very laggy at the first 14 seconds... And the song suddenly stopped before the last ~10 sec... I tried other songs, but the output is the same. The sound quality is very good, So I a bit disappointed...

And one more thing... If I modify Your start script to automatically loads the drivers Can You upload it to UR repo?

Best regards,
MrDini ;)
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2398
Joined: Sun Apr 29, 2012 5:24 pm

Re: Play sounds with nsa320s?

Post by barmalej2 » Thu Nov 23, 2017 12:08 pm

I don't like this idea. Mpd start script is more or less FFP generic. You want to make it your case specific. Consider of using udevd for that purpose. In that case you will need to add udevd dependency line to mpd start script :
#!/ffp/bin/sh

# PROVIDE: mpd
# REQUIRE: udevd
Then mpd service will run after udevd service.

barmalej2
Posts: 2398
Joined: Sun Apr 29, 2012 5:24 pm

Re: Play sounds with nsa320s?

Post by barmalej2 » Thu Nov 23, 2017 8:45 pm

The interesting thing is how mine old post above got new date?

User avatar
MrDini
Posts: 652
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: Play sounds with nsa320s?

Post by MrDini » Fri Nov 24, 2017 10:07 am

barmalej2 wrote:The interesting thing is how mine old post above got new date?
I'm so sorry, that was me. I read the topic, and saw a "Bump topic" link at the bottom and I didn't know what it does, just tried it. Now it is clear for me. It changes the last post's date, in order to appear at the topiclist's first place.
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2398
Joined: Sun Apr 29, 2012 5:24 pm

Re: Play sounds with nsa320s?

Post by barmalej2 » Fri Nov 24, 2017 12:40 pm

No worries. I didn't know about that as well.

Post Reply