[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/mobiquo/hook/function_hook.php on line 86: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4859: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4861: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4862: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4863: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3948)
USB DAC incorrectly set in mpd.conf (NO SOUND) : Bug report • RuneAudio Forum

USB DAC incorrectly set in mpd.conf (NO SOUND)

Please report any bug found here

USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby sonycman » 30 Dec 2017, 15:09

Hello!
I've got a Raspberry PI 3 B and facing a no sound issue with RuneAudio.
Tried both RuneAudio_rpi2_rp3_0.4-beta_20160321 and RuneAudio_rpi2_rp3_0.4-beta_20170229 images.

Runeaudio sees my Parasound USB DAC just as normal and it is selected in the WebUI.
But when I'am trying to playback the music time progress indication freezes at zero and there is no sound output from the DAC.

Debug information and attached also.

I've managed to bypass this problem myself.
There is wrongfully set option in the mpd.conf file:
device "hw:0," <- no subdevice number at all

So I changed it to:
device "hw:0,0"
and protect the file from modification on reboot by using chattr +i command.

Now my DAC plays fine and sound is just great!

This is only a temporary solution and I wish you guys correct it the right way when you can.

Thanks for otherwise great sound system!
Regards,
Vladimir.
Attachments
runeaudio debug.zip
(22 KiB) Downloaded 586 times
sonycman
 
Posts: 11
Joined: 30 Dec 2017, 14:33

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby sonycman » 02 Jan 2018, 15:05

Frank, can you tell me, please, which application writes to mpd.conf at each boot?
If you can't emulate this bug youself I could try to dig deeply on my side...

Regards,
Vlad
sonycman
 
Posts: 11
Joined: 30 Dec 2017, 14:33

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby hondagx35 » 02 Jan 2018, 21:41

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby sonycman » 02 Jan 2018, 23:35

Hi Frank.

Thanks for the hint!
Would you, please, show me how to enable debug function runelog and how to take a look at its output?
sonycman
 
Posts: 11
Joined: 30 Dec 2017, 14:33

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby sonycman » 03 Jan 2018, 02:43

sonycman
 
Posts: 11
Joined: 30 Dec 2017, 14:33

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby janui » 11 Jan 2018, 11:56

User avatar
janui
 
Posts: 714
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby sonycman » 11 Jan 2018, 15:35

Thanks, janui, I'll test it as soon as I can.

Just curious, why the authors did added these brackets at all?
Is these brackets are really necessary there?

Square bracket is a special character and needs extra care when using it.
Most probably they are used incorrect syntax and now we have the issue here.
sonycman
 
Posts: 11
Joined: 30 Dec 2017, 14:33

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby janui » 11 Jan 2018, 17:05

Hi sonycman,
Some smart guys built Rune. I expect that the square brackets are needed for something.
janui
User avatar
janui
 
Posts: 714
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby sonycman » 11 Jan 2018, 20:32

Hi janui,
[ ] is a special character in the regular expression, it is used to denote a range.
And a special escape sequence should be used to pass these brackets as an ordinary literal character to the "grep" command.
The code in .php file does not specify any range while searching for a sound card name, it looking for a constant text string.

So meaning of the brackets here is beyond my understanding, and instead of attempting to escape them correctly would'nt it be easier to just delete them both?

I'll see what I can get and will report later...
sonycman
 
Posts: 11
Joined: 30 Dec 2017, 14:33

Re: USB DAC incorrectly set in mpd.conf (NO SOUND)

Postby sonycman » 11 Jan 2018, 23:57

sonycman
 
Posts: 11
Joined: 30 Dec 2017, 14:33

support RuneAudio Donate with PayPal

Next

Return to Bug report

Who is online

Users browsing this forum: No registered users and 2 guests
cron