Page 1 of 1
Bluetooth streaming only right channel audio?

Posted:
Sun Jun 23, 2013 1:47 pm
by flvinny521
I noticed when streaming through bluetooth to my car stereo that I don't hear any music that is panned to the left channel of a stereo recording. What I hear is the right track doubled to both left and right speakers. I have tested this by listening to the same track through the web interface on my PC and I do hear both left and right recorded tracks panned correctly. Is this an issue with how bluetooth is handled by my ROM, or could DSub be the cause?
Re: Bluetooth streaming only left channel?

Posted:
Sun Jun 23, 2013 5:05 pm
by daneren2005
I highly doubt it's a app issue since I don't do any control of bluetooth at all, I just use the general media framework and your ROM should control where the sound goes...
Re: Bluetooth streaming only left channel?

Posted:
Sun Jun 23, 2013 9:05 pm
by flvinny521
After further testing, I found that playing the cached file from my SD card, even with a different player, produces the same error, so somehow the channels are getting screwed up as the file is cached.
Re: Bluetooth streaming only left channel?

Posted:
Sun Jun 23, 2013 9:08 pm
by alphawave7
Out of curiousity, what hardware and rom/kernel are you running?
Re: Bluetooth streaming only left channel?

Posted:
Sun Jun 23, 2013 9:33 pm
by mr_nobody
Is the cached file getting transcoded? I would look at your transcode settings and subsonic logs.
Re: Bluetooth streaming only right channel audio?

Posted:
Sun Jun 23, 2013 9:40 pm
by flvinny521
A Sprint Galaxy Note II running CarbonRom 1.7. I am using the kernel packaged with the ROM, which I can't recall at the moment. Unfortunately, I don't have enough posts at XDA to post in the ROM's thread to ask this question of the devs there.
Re: Bluetooth streaming only right channel audio?

Posted:
Mon Jun 24, 2013 3:00 am
by alphawave7
flvinny521 wrote:A Sprint Galaxy Note II running CarbonRom 1.7. I am using the kernel packaged with the ROM, which I can't recall at the moment. Unfortunately, I don't have enough posts at XDA to post in the ROM's thread to ask this question of the devs there.
That's okay...you're likely stock kernel as it's typically flashed separate from ROM's, and you have no recollection of doing so. I think you might find it under Settings-About Phone and scroll to the bottom...4.2.1 and .2 is usually coupled with 3.4 kernel.
Re: Bluetooth streaming only right channel audio?

Posted:
Mon Jun 24, 2013 10:14 am
by flvinny521
I just checked and it says 3.0.64 Trinity_Carbon.
Re: Bluetooth streaming only left channel?

Posted:
Mon Jun 24, 2013 11:34 am
by flvinny521
mr_nobody wrote:Is the cached file getting transcoded? I would look at your transcode settings and subsonic logs.
I admit that I'm not too familiar with the transcoding strings and how they work. I modified the recommended settings slightly:
transcode: ffmpeg -i %s -acodec libvorbis -ar 44100 -ab %bk -f ogg -
and downsample: ffmpeg -i %s -ab %bk -v 0 -f mp3 -
I added the "-ar 44100" into the transcode string so that would also downsample the file if necessary at the same time. This resolved an issue I was having with a few files not streaming to iSub or DSub. Did I goof up somewhere?
Re: Bluetooth streaming only right channel audio?

Posted:
Mon Jun 24, 2013 12:16 pm
by mr_nobody
Nothing is jumping out at me with those transcodings. I would guess you might be looking at a rom bug. Maybe try flashing stock to see if the problem persists.
Re: Bluetooth streaming only right channel audio?

Posted:
Tue Jun 25, 2013 2:18 pm
by flvinny521
I found that this was an issue in CM that was apparently corrected in one of the recent nightlies. I tried updating my own ROM to a recent nightly, but it seems that fix has not been pushed out yet. Instead, I'll just have my transcode string convert to mono so at least I don't lose any audio.