On Fri, 16 Sep 2016, Muammar El Khatib wrote:
> On Fri, Sep 16, 2016 at 10:27:57AM +0200, Cristian Ionescu-Idbohrn wrote:
>
> I have prepared two .asoundrc files (asoundrc1 and asoundrc2).

Thanks.

> You may want to download them and try them as your .asoundrc file.
>
> > ,----[ cat /proc/asound/cards ]
> > |  0 [Live           ]: EMU10K1 - SB Live! 5.1 [SB0060]
> > |                       SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at 
> > 0xd000, irq 17
>
> asoundrc1 for the case where this is the right card: hw:0,0 is the device.

I tested both.  But let's discuss asoundrc1.  Problem is that this
block:

,----
| pcm.!default {
|   type asym
|   playback.pcm "LoopAndReal"
|   #capture.pcm "looprec"
|   capture.pcm "hw:0,0"
| }
`----

overwrites this one:

,----
| pcm.!default {
|         type plug
|         slave.pcm spdif
| }
`----

which I _must_ have in order to get sound out to the speakers through
card 0.

> Now, your Loopback's index is 4,

Right.

> and mkchromecast command should be:
> python mkchromecast.py --encoder-backend ffmpeg --alsa-device hw:4,1 -c ogg 
> --volume
>
> Did it work?.

,----
| hw:4,1
| hw:4,1
| mkchromecast v0.3.6
| Starting local streaming server
| [Done]
| Traceback (most recent call last):
|   File "./mkchromecast.py", line 50, in <module>
|     import mkchromecast.audio
|   File ".../mkchromecast/audio.py", line 21, in <module>
|     from flask import Flask, Response, request
| ImportError: No module named flask
`----

Looks like I'm missing some 'python-flask' package.


Cheers,

-- 
Cristian

Reply via email to